execOndemand(function () {
    webpackJsonp([22, 5, 16], {
        "+3UB": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("/UG1"), n = i("jGpU"), s = i("X8N+"), r = i("0tEz"), l = i("mS7s"), c = i.n(l),
                d = i("aoYE"), h = (i.n(d), function (t) {
                    function e() {
                        for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];
                        return t.apply(this, e) || this
                    }

                    return a.a(e, t), e.prototype.propertys = function () {
                        t.prototype.propertys.call(this), this.needRootWrapper = !1, this.template = c.a, this.isMemberLogin = !1, this.events = {"click .js_receive_newguestcoupon": "handleNewGuestCoupon"}
                    }, e.prototype.setMemberLogin = function (t) {
                        this.isMemberLogin = t
                    }, e.prototype.setReceived = function () {
                        this.datamodel.canReceive = !1, this.$el.html('<div class="btn-active done js_done">\u5df2\u9886\u53d6</div>')
                    }, e.prototype.handleNewGuestCoupon = function () {
                        var t = this;
                        this.isMemberLogin ? this.handleNewGuestCouponPop(!1) : (this.loginLayer || (this.loginLayer = new o.a({
                            onLoginSuccess: function () {
                                t.isMemberLogin = !0, t.loginLayer && t.loginLayer.hide(), t.handleNewGuestCouponPop(!0)
                            }
                        }), this.loginLayer.on("loginShow", function () {
                            t.trigger("loginShow")
                        }), this.loginLayer.on("loginHide", function () {
                            t.trigger("loginHide")
                        })), this.loginLayer.show())
                    }, e.prototype.handleNewGuestCouponPop = function (t) {
                        var e = this;
                        this.newGuestCouponPopLayer = new n.a({
                            maskToHide: !0,
                            needAnimat: !1,
                            datamodel: {result: {}},
                            needForceProcessCallBack: t,
                            isOversea: e.datamodel.isOversea
                        }), this.newGuestCouponPopLayer.on("refreshCallBack", function () {
                            e.trigger("refreshCallBack")
                        }), this.newGuestCouponPopLayer.on("receciveCouponSuccess", function () {
                            e.setReceived()
                        }), this.newGuestCouponPopLayer.on("showToast", function (t, i) {
                            !e.isMemberLogin || 3 !== i && 4 !== i || e.hide();
                            var a = e, o = new s.a;
                            o.setDatamodel(t, 1500, function () {
                                a.trigger("refreshCallBack")
                            }, !1), o.show()
                        }), this.newGuestCouponPopLayer.on("showingLayer", function () {
                            e.trigger("showingLayer")
                        }), this.newGuestCouponPopLayer.getCouponState()
                    }, e.prototype.update = function (t) {
                        this.datamodel = t
                    }, e.prototype.updateBackImage = function (t) {
                        t ? this.wrapper.find(".coupons-enter").addClass("oversea-coupons-enter") : this.wrapper.find(".coupons-enter").removeClass("oversea-coupons-enter")
                    }, e
                }(r.a));
            e.a = h
        }, "+Hns": function (t, e, i) {
            "use strict";

            function a(t) {
                this.defaultImage = "\n  /wArAAArMwArZgArmQArzAAr/wBVAABVMwBVZgBVmQBVzABV/wCAAACAMwCAZgCAmQCAzACA/wCqAACqMwCqZgCqmQCqzACq\n  /wDVAADVMwDVZgDVmQDVzADV/wD/AAD/MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMrADMrMzMrZjMrmTMrzDMr\n  /zNVADNVMzNVZjNVmTNVzDNV/zOAADOAMzOAZjOAmTOAzDOA/zOqADOqMzOqZjOqmTOqzDOq/zPVADPVMzPVZjPVmTPVzDPV\n  /zP/ADP/MzP/ZjP/mTP/zDP//2YAAGYAM2YAZmYAmWYAzGYA/2YrAGYrM2YrZmYrmWYrzGYr/2ZVAGZVM2ZVZmZVmWZVzGZV\n  /2aAAGaAM2aAZmaAmWaAzGaA/2aqAGaqM2aqZmaqmWaqzGaq/2bVAGbVM2bVZmbVmWbVzGbV/2b/AGb/M2b/Zmb/mWb/zGb\n  //5kAAJkAM5kAZpkAmZkAzJkA/5krAJkrM5krZpkrmZkrzJkr/5lVAJlVM5lVZplVmZlVzJlV/5mAAJmAM5mAZpmAmZmAzJmA\n  /5mqAJmqM5mqZpmqmZmqzJmq/5nVAJnVM5nVZpnVmZnVzJnV/5n/AJn/M5n/Zpn/mZn/zJn//8wAAMwAM8wAZswAmcwAzMwA\n  /8wrAMwrM8wrZswrmcwrzMwr/8xVAMxVM8xVZsxVmcxVzMxV/8yAAMyAM8yAZsyAmcyAzMyA/8yqAMyqM8yqZsyqmcyqzMyq\n  /8zVAMzVM8zVZszVmczVzMzV/8z/AMz/M8z/Zsz/mcz/zMz///8AAP8AM/8AZv8Amf8AzP8A//8rAP8rM/8rZv8rmf8rzP8r\n  //9VAP9VM/9VZv9Vmf9VzP9V//+AAP+AM/+AZv+Amf+AzP+A//+qAP+qM/+qZv+qmf+qzP+q///VAP/VM//VZv/Vmf/VzP/V\n  ////AP//M///Zv//mf//zP///wAAAAAAAAAAAAAAACH5BAEAAPwALAAAAAABAAEAAAgEAAEEBAA7", this.index = 0, this.startX = 0, this.moveX = 0, this.isMove = !1, this.Factor = 5, this.setOption(t), this.initialize()
            }

            var o = i("K87Q"), n = {
                css: function (t, e) {
                    return window.getComputedStyle(t)[e]
                }, bsn: function (t) {
                    var e = document.body.style, i = "";
                    return "webkitTransform" in e ? i = "-webkit-" : "MozTransform" in e && (i = "-moz-"), i + t
                }, getTranslateX: function (t) {
                    var e = this.css(t, this.bsn("transform"));
                    if (!e || "none" === e) return 0;
                    var i = /matrix\(\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*(-?\d+)\s*\)/,
                        a = i.exec(e);
                    return a && a[5]
                }, setTranslateX: function (t, e) {
                    t && t.style && (t.style[this.bsn("transform")] = "translate3d(" + e + "px,0px,0px)")
                }
            };
            a.prototype = {
                initialize: function () {
                    this.createHtml() && this.buildEvent()
                }, setOption: function (t) {
                    var e = this;
                    t = t || {}, Object.keys(t).forEach(function (i) {
                        switch (i) {
                            case"data":
                            case"scope":
                            case"onchange":
                            case"oncreate":
                            case"onclick":
                            case"maxJump":
                            case"onmaxAction":
                            case"remainContainer":
                                e[i] = t[i];
                                break;
                            case"container":
                                e[i] = "string" == typeof t[i] && t[i] ? $(document.querySelector(t[i])) : t[i]
                        }
                    })
                }, createHtml: function () {
                    for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
                    if (!this.data || !this.data.length || !this.container) return !1;
                    var i = this, a = this.data, o = a.length, n = $(document).width();
                    if (this.remainContainer) {
                        var s = "";
                        a.forEach(function (t, e) {
                            var o = i.defaultImage;
                            0 !== e && (s += '<li class="xslide-list-item js_slider_item"><img src="' + o + '" data-state="' + a[e].src + '" width="100%" ' + (a[e].pagecode ? 'is="c-img" pageCode="' + a[e].pagecode + '"' : "") + "></li>")
                        }), this.container.find(".js_slider_list").append(s), i.maxJump && o > 0 && (o += 1, $('<li class="xslide-list-item js_slider_item" style="background-color: #efefef;-webkit-justify-content: flex-start;justify-content: flex-start;"><img style="width:40px;margin-left:10px;" src="https://pages.ctrip.com/hotel_h5/res/img/dt-check-arrow.png" /></li>').appendTo(this.container.find(".js_slider_list")))
                    } else {
                        var r = ['<div class="xslide-box-container">', '<ul class="xslide-list-container xslide-list-container-animate js_slider_list" style="-webkit-transform: translate3d(0px, 0px, 0px);">'];
                        a.forEach(function (t, e) {
                            var o = a[e].src;
                            e > 0 && (o = i.defaultImage);
                            var n = a[e].pagecode ? ' is="c-img" pageCode="' + a[e].pagecode + '"' : "";
                            r.push("<li class=\"xslide-list-item js_slider_item ' + (k === 0 ? 'current' : '') + '\" style=\"\">\n              <img src=\"" + o + '" data-state="' + a[e].src + '" width="100%" ' + n + ">\n          </li>")
                        }), i.maxJump && o > 0 && (o += 1, r.push('<li class="xslide-list-item js_slider_item" style="background-color: #efefef;-webkit-justify-content: flex-start;justify-content: flex-start;">\n              <img style="width:40px;margin-left:10px;" src="https://pages.ctrip.com/hotel_h5/res/img/dt-check-arrow.png" />\n          </li>')), r.push("</ul></div>"), r = r.join(""), this.container.html(r)
                    }
                    return this.container.find(".js_slider_item").width(n), this.container.find(".js_slider_list").width(o * n), this.listContainer = this.container.find(".js_slider_list"), this.oncreate && "function" == typeof this.oncreate && (l = this.oncreate).call.apply(l, [this.scope].concat(t)), i.index < o - 1 && this._loadImage(i.index + 1), o || this.listContainer.find("img").attr("src", "https://pages.ctrip.com/hotel_h5/res/img/detail-no-photo.jpg"), !0;
                    var l
                }, buildEvent: function () {
                    var t = this.container, e = this, i = $(document).width(), a = Math.floor(.2 * i);
                    Object(o.a)(t[0]).on("swipeStart", ".js_slider_list", function () {
                        t.removeClass("xslide-list-container-animate"), e.startX = parseInt(n.getTranslateX(e.listContainer[0]), 10), e.isMove = !1
                    }).on("swipe", ".js_slider_list", function (t, i) {
                        if (e.moveX = e.startX + t.moveX, e.isMove || Math.abs(t.moveY) < e.Factor && Math.abs(t.moveX) > e.Factor) {
                            var a = void 0;
                            t.moveX < 0 && (a = !0), n.setTranslateX(e.listContainer[0], e.moveX, a), e.isMove = !0, i.preventDefault()
                        }
                        i.stopPropagation()
                    }).on("swipeEnd", ".js_slider_list", function (t, i) {
                        e.listContainer.addClass("xslide-list-container-animate");
                        var o = Math.abs(t.moveX), n = Math.abs(t.moveY);
                        n > e.Factor ? (o > a ? t.moveX > 0 ? e._pre() : e._next() : e._go(e.index), i.stopPropagation()) : o > a ? (t.moveX > 0 ? e._pre() : e._next(), i.preventDefault(), i.stopPropagation()) : o > 2 || n > 2 ? (e._go(e.index), i.preventDefault(), i.stopPropagation()) : e._go(e.index)
                    })
                }, _loadImage: function (t) {
                    var e = this.listContainer.find(".js_slider_item").eq(t).find("img"), i = e.attr("data-state");
                    e.attr("src", i)
                }, _go: function (t) {
                    var e = this, i = $(document).width(), a = e.data.length;
                    if (e.isMove) {
                        var o = Math.max(0, a - 1);
                        if (t > o) {
                            if (t = o, e.maxJump && e.onmaxAction && "function" == typeof e.onmaxAction) return e.onmaxAction.call(e.scope), void e._go(0)
                        } else t < 0 && (t = 0);
                        e.index = t, e._loadImage(t);
                        var s = t * i;
                        n.setTranslateX(e.listContainer[0], -s), e.listContainer.find(".js_slider_item").removeClass("current"), e.listContainer.find(".js_slider_item").eq(t).addClass("current"), e.onchange && "function" == typeof e.onchange && e.onchange.call(e.scope, t), t < o && this._loadImage(t + 1)
                    }
                }, _next: function () {
                    this._go(this.index + 1)
                }, _pre: function () {
                    this._go(this.index - 1)
                }
            }, e.a = a
        }, "+JQy": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("v8oQ"), n = i.n(o), s = i("2247"), r = i.n(s), l = i("kbi+"), c = i.n(l),
                d = i("6M8Y"), h = i("YLA9"), p = i("swjm"), u = i("F4KM"), m = i("xkSB"), f = i.n(m), _ = i("lAQp"),
                g = i("gFDN"), v = (i.n(g), i("Wg5R")), y = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.propertys = function () {
                        this.unbindTouchEvent = !0, t.prototype.propertys.call(this), this.template = f.a, this.datamodel = {
                            hasHeader: !0,
                            room: 1,
                            adult: 1,
                            children: [-1, -1, -1]
                        }, this.needReposition = !1, this.id = n()("biz-view-peoplenumselect-")
                    }, e.prototype.setRootStyle = function () {
                        this.$el.addClass("animated slideInUp"), this.$el.css({
                            width: "100%",
                            height: "100%",
                            top: 0,
                            left: 0,
                            padding: 0,
                            borderRadius: 0,
                            background: "#f5f5f5",
                            zIndex: 5e3
                        })
                    }, e.prototype.addEvent = function () {
                        var e = this;
                        t.prototype.addEvent.call(this), this.addEvents({
                            "click .js_back_btn": function () {
                                history.back()
                            }, "click .js_select_age_btn": function (t) {
                                var i = $(t.currentTarget), a = i.data("idx"), o = e.datamodel.children[a];
                                new _.a({
                                    datamodel: {selectedAge: o}, onChanged: function (t) {
                                        e.datamodel.children[a] = t.age, i.find(".js_age_txt").html(t.txt)
                                    }
                                }).show()
                            }, "click .js_confirm_btn": function () {
                                history.back(), e.onChanged.call(e, {
                                    room: e.datamodel.room,
                                    adult: e.datamodel.adult,
                                    children: e.datamodel.children.slice(0)
                                })
                            }
                        }), this.on("onShow", function () {
                            e.setRootStyle(), $(window).off("." + e.id), $(window).on("resize." + e.id, $.proxy(function () {
                                this.setRootStyle()
                            }, e));
                            var t = new h.a({
                                wrapper: e.$el.find(".js_room_num_ui"),
                                datamodel: {min: 1, max: 10, curNum: e.datamodel.room, unit: "", needText: !0},
                                changed: function (t) {
                                    e.datamodel.room = t
                                }
                            }), i = new h.a({
                                wrapper: e.$el.find(".js_adult_num_ui"),
                                datamodel: {min: 1, max: 8, curNum: e.datamodel.adult, unit: "", needText: !0},
                                changed: function (t) {
                                    e.datamodel.adult = t
                                }
                            });
                            i.show(), t.show(), window.adultNumui = i, window.roomNumui = t
                        }), this.on("onHide", function () {
                            $(window).off("." + e.id), e.destroy()
                        }), this.on("onDestroy", function () {
                        })
                    }, e.prototype.create = function () {
                        this.datamodel.children = this.datamodel.children.slice(0, 3);
                        var e = r()(this.datamodel.children, function (t) {
                            return c()(v.a, function (e) {
                                return e.age === t
                            }) || v.a[0]
                        });
                        this.datamodel.childrenVm = e, t.prototype.create.call(this)
                    }, e.prototype.hide = function () {
                        var e = this;
                        this.$el.removeClass("animated slideInUp"), this.$el.addClass("animated slideOutDown");
                        var i = Object(p.a)();
                        this.$el.one(i, function () {
                            e.$el.removeClass("animated slideOutDown"), t.prototype.hide.call(e)
                        })
                    }, e.prototype.show = function () {
                        var e = this;
                        Object(u.stateobserve)(function () {
                            e.hide()
                        }), t.prototype.show.call(this)
                    }, e.prototype.onChanged = function (t) {
                    }, e
                }(d.a);
            e.a = y
        }, "+JtJ": function (t, e) {
            function i(t) {
                if ("function" != typeof t) throw new TypeError(a);
                return function () {
                    var e = arguments;
                    switch (e.length) {
                        case 0:
                            return !t.call(this);
                        case 1:
                            return !t.call(this, e[0]);
                        case 2:
                            return !t.call(this, e[0], e[1]);
                        case 3:
                            return !t.call(this, e[0], e[1], e[2])
                    }
                    return !t.apply(this, e)
                }
            }

            var a = "Expected a function";
            t.exports = i
        }, "+X65": function (t, e, i) {
            function a(t, e, i) {
                var a = !0, r = !0;
                if ("function" != typeof t) throw new TypeError(s);
                return n(i) && (a = "leading" in i ? !!i.leading : a, r = "trailing" in i ? !!i.trailing : r), o(t, e, {
                    leading: a,
                    maxWait: e,
                    trailing: r
                })
            }

            var o = i("O4Lo"), n = i("yCNF"), s = "Expected a function";
            t.exports = a
        }, "+fW5": function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = new a.a({key: "U_HOTEL_USERFLOW", lifeTime: "12H"}), n = function () {
                function t() {
                    this.key = "userflow"
                }

                return t.prototype.getPageCount = function () {
                    return this.getUserFlow().length
                }, t.prototype.putPage = function (t) {
                    var e = this.getUserFlow();
                    e[t.index] = t, o.setAttr(this.key, e)
                }, t.prototype.getUserFlow = function () {
                    return o.getAttr(this.key) || []
                }, t.prototype.clear = function () {
                    o.removeAttr(this.key)
                }, t.prototype.reset = function () {
                    o.setAttr(this.key, [])
                }, t
            }(), s = new n;
            e.a = s
        }, "/4es": function (t, e) {
            t.exports = '<%\r\nvar exTopBarWrapperClass = \'\';\r\nif(miniUI && miniUI.topBar && miniUI.topBar.visible && miniUI.topBar.html){\r\nexTopBarWrapperClass = \'hotel-select-date-tips\';\r\n};\r\n%> <style type="text/css"> .cui_inoutday_calendar {\r\n    position: fixed;\r\n    top: 0;\r\n    height: 100%;\r\n    overflow-y: scroll;\r\n    overflow-x: hidden;\r\n    width: 100%;\r\n    z-index: 99999;\r\n    -webkit-overflow-scrolling: touch;\r\n  }\r\n  .cui_cal_header{\r\n    height: 2.2rem;\r\n  }\r\n  .cui_cal_header .cm-header{\r\n    z-index: 30000;\r\n  }\r\n  .cui_cal_header h1{\r\n    padding-right: 3rem;\r\n  }\r\n  /*Star \ufffd\u8cff\ufffd\ufffd\ufffd\ufffd*/\r\n  .calendar-weehours {padding: 0.5rem 1rem;color:#999;font-size: 0.6rem;}\r\n  .calendar-weehours .wh-tab { background-color: #fff; color: #4289ff; border-radius: 0.15rem; border: 1px solid #4289ff; padding:1px; margin-left:0.5rem;display: inline-block; vertical-align: middle; }\r\n  .calendar-weehours .wh-tab em { padding: 0 0.6rem; line-height: 1.35rem; float: left; border-radius: 0.15rem; }\r\n  .calendar-weehours .wh-tab em.current { background-color: #4289ff; color: #fff; }\r\n\r\n\r\n  .calendar-weekday { border-style: solid; border-color: #ddd; border-image: url() 2 stretch; -webkit-border-image: url() 2 stretch; }\r\n  .calendar-daypast {color: #cfcfcf !important;}\r\n  .calendar-holiday{color: #06a2d0;}\r\n  .calendar-weekday {background: #f5f5f5;border-width: 0 0 1px;overflow: hidden;}\r\n  .calendar-weekday li {width: 14.28%;float: left;text-align: center;padding:0.15rem 0;}\r\n  .calendar-weekday li:nth-of-type(7n),.calendar-weekday li:nth-of-type(7n+1),.calendar-grid li:nth-of-type(7n),.calendar-grid li:nth-of-type(7n+1){color: #ff902d;}\r\n  .calendar-body {background-color: #fff;overflow: hidden;}\r\n  .calendar-body .calendar-day-checkin { position: absolute; width: 200%; left: -50%; top: -2rem; background: rgba(0, 0, 0, .7); border-radius: 5px; padding: 0.35rem 0; }\r\n  .calendar-body .calendar-month { height: 2rem;line-height: 2.2rem; text-align: center; font-weight: 300; font-size: 0.8rem;  }\r\n  .calendar-body .calendar-grid {overflow: hidden;}\r\n  .calendar-body .calendar-grid li { width: 14.28%; height: 2rem; padding: 0.2rem 0; font-weight: 400; font-size: 0.7rem; float: left; text-align: center;position: relative; }\r\n  .calendar-body .calendar-grid .calendar-note {font-size: 0.55rem}\r\n  .calendar-body .calendar-grid .calendar-holiday-h,.calendar-body .calendar-grid .calendar-holiday-w {border-width:1px;border-style:solid;height: 0.65rem; width: 0.65rem; line-height:0.7rem;background: #fff; font-size: 0.45rem; position: absolute; right: 0; top: 0; text-align: center;}\r\n  /*.calendar-body .calendar-grid .calendar-holiday-h{color: #52bce8; }\r\n  .calendar-body .calendar-grid .calendar-holiday-w{color: #ff902d; }*/\r\n  .calendar-body .calendar-grid li.calendar-current {background: #06a2d0;color: #fff}\r\n  .calendar-body .calendar-grid li.calendar-range {background: #EBF4FA;}\r\n  .calendar-body .calendar-grid .calendar-current .calendar-holiday-w{color:#06a2d0;}\r\n  .calendar-body .calendar-grid .calendar-current .calendar-holiday-h{color:#06a2d0;}\r\n  .calendar-toast { width: 8.25rem; padding: 0.5rem; border-radius: 0.25rem; background: rgba(0, 0, 0, .7); color: #fff; text-align: center; position: fixed; left: 50%; -webkit-transform: translate3d(-50%,0,0); transform: translate3d(-50%,0,0); bottom: 4.25rem; }\r\n  .hotel-date-toast {\r\n    bottom: 2.25rem;\r\n  } </style> <div class="cm-calendar" style="padding-top: 0; padding-bottom: 3.5rem; background: #fff;"> <div class="cui_cldweek <%=exTopBarWrapperClass%>"> <%if(exTopBarWrapperClass){%> <div class="js_top_bar"><%=miniUI.topBar.html%></div> <%}%> <ul class="calendar-weekday"> <%\r\n      var i = 0, day1 = 0;\r\n      for(day1 = 0; day1 < 7; day1++) {\r\n      %> <li><%=weekDayArr[day1] %></li> <%} %> </ul> </div> <section class="calendar-body"> <%\r\n    var changedYear;\r\n    %> <%for(var j = 0; j < displayMonthNum; j++) {\r\n    var changedMonth = month + j;\r\n    var yyy          =  parseInt(( month + j ) / 12);\r\n    if(changedMonth > 11) {\r\n    changedMonth = changedMonth - 12 * yyy;\r\n    };\r\n    changedYear   = year + yyy;\r\n    var d         = new Date(changedYear, changedMonth);\r\n    var days      = $.getDaysOfMonth(d);\r\n    var str_month = MonthClapFn(changedYear, changedMonth);\r\n    %> <%if(str_month.length > 0 ) { %> <h2 class="calendar-month"><%=str_month %></h2> <% } %> <ul class="calendar-grid"> <%\r\n        var sday = (new Date(changedYear, changedMonth, 1)).getDay();\r\n        while(sday>0){\r\n        %> <li></li> <%\r\n        sday--;\r\n        }\r\n\r\n      for(i = 0; i < days; i++) {\r\n      var day             = i + 1;\r\n      var dateObj         = new Date(changedYear, changedMonth, day);\r\n      var str_date        = changedYear.toString() + \'-\' + changedMonth.toString() + \'-\' + day.toString();\r\n\r\n      var itemInfo        = dayItemFn.call(scope,dateObj);\r\n      var innerHtml       = itemInfo.innerHtml;\r\n      var parentDOMClass  = itemInfo.parentDOMClass;\r\n\r\n      %> <li class="js_calendar_item cui_calendar_item <%=parentDOMClass%>" data-date="<%=str_date%>"> <%=innerHtml%> </li> <% } %> </ul> <%} %> </section> <%if(miniUI && miniUI.layer && miniUI.layer.visible && miniUI.layer.text){%> <div class="hotel-date-toast cui_layer cui-toast" style="position: fixed;"><%=miniUI.layer.text%></div> <%}%> <%if(showNav){%> <div class="cm-calendar-ft"> <ul class="cm-calendar-quick-nav"> <%if(footNavDate){\r\n      var count = 0;\r\n      for(var i in footNavDate){\r\n      if(count === 0){%> <li class="active w_date_nav_click" data-date="<%=footNavDate[i]%>"><%=i%></li> <%}else{%> <li class="w_date_nav_click" data-date="<%=footNavDate[i]%>"><%=i%></li> <%}\r\n      count++;\r\n      }%> <%}%> </ul> </div> <%}%> </div> '
        }, "/GnY": function (t, e, i) {
            var a = i("f931"), o = a(Object.keys, Object);
            t.exports = o
        }, "/NA3": function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = i("6rBr"), n = new a.b({key: "U_HOTEL_HIDDEN_SAME_TYPE_HOTEL", lifeTime: "1D"}),
                s = function () {
                    function t() {
                    }

                    return t.add = function (t) {
                        var e = n.getAttr("hotelMap");
                        e || (e = {}), e[t] = o.a.getServerDate(), n.setAttr("hotelMap", e)
                    }, t.contain = function (t) {
                        var e = o.a.getServerDate(), i = n.getAttr("hotelMap");
                        return i && i[t] && new o.a(i[t]).addDay(1).valueOf() >= e
                    }, t
                }();
            e.a = s
        }, "/Rdg": function (t, e) {
            var i = /<%=([\s\S]+?)%>/g;
            t.exports = i
        }, "/UG1": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = i("jnGA"), s = i("4Fgk"), r = i.n(s), l = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    var e = this;
                    t.prototype.propertys.call(this), this.loginType = 1;
                    var i = this;
                    this.needMask = !0, this.focusElements = {}, this.events = {
                        "click .js_close": "_actionClose",
                        "blur input": function (t) {
                            delete e.focusElements[$(t.currentTarget).attr("id")], $.os.ios && 0 === r()(e.focusElements) && e.$el.css({
                                position: "fixed",
                                top: "50%"
                            })
                        },
                        "focus input": function (t) {
                            e.focusElements[$(t.currentTarget).attr("id")] = 1, $.os.ios && e.$el.css({
                                position: "absolute",
                                top: document.body.scrollTop + 300 + "px"
                            })
                        }
                    }, this.needMask && (this.mask = new n.a, this.mask.addEvents({
                        click: function () {
                            i.hide(), this.hide(), i.runUserCloseAction()
                        }
                    }))
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this), e.onLoginSuccess && (this.onLoginSuccess = e.onLoginSuccess)
                }, e.prototype.initElement = function () {
                    t.prototype.initElement.call(this)
                }, e.prototype.setRootStyle = function () {
                }, e.prototype.bindEvents = function () {
                    t.prototype.bindEvents.call(this), this.setRootStyle()
                }, e.prototype.addEvent = function () {
                    var t = this, e = this;
                    this.on("onCreate", function () {
                        e.$el.addClass("login-guide js_root_wrapper")
                    }), this.on("onShow", function () {
                        t.$el.css({
                            position: "fixed",
                            top: "50%"
                        }), e.mask && e.mask.show(), $("body").addClass("rbags-toast"), e._showLoginUI(), e.setzIndexTop(), e.trigger("loginShow")
                    }), this.on("onHide", function () {
                        e.mask && e.mask.hide(), this.$el.remove(), this.destroy(), $("body").removeClass("rbags-toast"), e.trigger("loginHide")
                    })
                }, e.prototype._actionClose = function () {
                    this.hide()
                }, e.prototype._showLoginUI = function () {
                    var t = this, e = "hotel_loginbox_" + (new Date).getTime();
                    t.$el.html('<h2 class="h2">\u643a\u7a0b\u8d26\u53f7\u767b\u5f55</h2><span class="login-guide-close font-g-close js_close"></span><div class="js_login_box_wrap" id="' + e + '"></div>'), 1 == this.loginType ? CLogin.uipageview.loaddynamic(e, function (e) {
                        0 == ~~e.ReturnCode && t.onLoginSuccess && "function" == typeof t.onLoginSuccess && (t.onLoginSuccess.call(t.callerView, arguments), t.hide())
                    }) : CLogin.uipageview.loadcommonlogin(e, function (e) {
                        0 == ~~e.ReturnCode && t.onLoginSuccess && "function" == typeof t.onLoginSuccess && (t.onLoginSuccess.call(t.callerView, arguments), t.hide())
                    })
                }, e.prototype.runUserCloseAction = function () {
                    this.onUserCloseAction && "function" == typeof this.onUserCloseAction && this.onUserCloseAction.call(this.callerView, this.passLogin || this.firstSuccess)
                }, e
            }(o.a);
            e.a = l
        }, "09Qt": function (t, e) {
            function i() {
                return []
            }

            t.exports = i
        }, "0DSl": function (t, e, i) {
            function a(t) {
                return o(function (e, i) {
                    var a = -1, o = i.length, s = o > 1 ? i[o - 1] : void 0, r = o > 2 ? i[2] : void 0;
                    for (s = t.length > 3 && "function" == typeof s ? (o--, s) : void 0, r && n(i[0], i[1], r) && (s = o < 3 ? void 0 : s, o = 1), e = Object(e); ++a < o;) {
                        var l = i[a];
                        l && t(e, l, a, s)
                    }
                    return e
                })
            }

            var o = i("YkxI"), n = i("zBOP");
            t.exports = a
        }, "0SAi": function (t, e, i) {
            "use strict";
            window.__bfi || (window.__bfi = []);
            var a = null, o = function () {
                function t() {
                    return this.performance = {}, this.isapp = "0", this.defaults = {
                        Domready: {
                            name: "JS.Lizard.Domready",
                            tags: {}
                        },
                        Onload: {name: "JS.Lizard.Onload", tags: {}},
                        AjaxReady: {name: "JS.Lizard.AjaxReady", tags: {url: "", info: "", status: ""}},
                        AjaxMessageSize: {name: "JS.Lizard.AjaxMessageSize", tags: {url: ""}},
                        TemplateRender: {name: "JS.Lizard.TemplateRender", tags: {url: ""}},
                        GeoRequest: {name: "JS.Lizard.GeoRequest", tags: {url: "", errno: "0"}},
                        FunUsed: {name: "JS.Lizard.FunUsed", tags: {url: "", fun: ""}},
                        MapAndGeoLocation: {
                            name: "JS.Lizard.MapAndGeoLocation",
                            tags: {type: "", region: "", service: ""}
                        }
                    }, this.uuid = 0, a || (a = this), a
                }

                return t.send = function (t, e, i, a) {
                    var o = ["_trackMatrix", t, e, i, a];
                    ("JS.Lizard.GeoRequest" !== t || "string" == typeof e.url && e.url.match(/^(Native|Web) function (number|detail|error)$/)) && window.__bfi.push(o)
                }, t.getTime = function () {
                    return (new Date).getTime()
                }, t.prototype.initOptions = function (t) {
                    t.version = "HOTEL.JAVA.MULTIPAGE", t.isapp = this.isapp, t.network = "unknown"
                }, t.prototype.log = function (e, i) {
                    e.url && "string" == typeof e.url && (e.url.indexOf("_fxpcqlniredt") > -1 && (e.url = e.url.substring(0, e.url.indexOf("_fxpcqlniredt") - 1)), e.url = e.url.replace(new RegExp(("" + +new Date).slice(0, 8) + "\\d{5}"), "__TIME__"));
                    var a = this.defaults[e.name], o = {};
                    this.initOptions(o), Object.keys(a.tags || {}).forEach(function (t) {
                        ({}).hasOwnProperty.call(a.tags, t) && (o[t] = "" + (e[t] || a.tags[t]))
                    }), "AjaxMessageSize" !== e.name && (o.distribution = t.distribution(i)), t.send(a.name, o, i, t.getTime())
                }, t.prototype.group = function (e, i) {
                    i.startTime = t.getTime(), this.performance[e] = i
                }, t.prototype.groupTag = function (t, e, i) {
                    var a = this.performance[t];
                    return a || (this.performance[t] = a = {}), 3 === arguments.length && (a[e] = i), a[e]
                }, t.prototype.groupEnd = function (e) {
                    var i = this.performance[e] || {};
                    this.log(i, t.getTime() - i.startTime)
                }, t.prototype.getUuid = function () {
                    return this.uuid += 1, "UbtPerformance_" + this.uuid
                }, t.distribution = function (t) {
                    var e = "";
                    return t >= 0 && t <= 500 ? e = "[0,500]" : t >= 501 && t <= 1e3 ? e = "[501,1000]" : t >= 1001 && t <= 2e3 ? e = "[1001,2000]" : t >= 2001 && t <= 3e3 ? e = "[2001,3000]" : t >= 3001 && t <= 4e3 ? e = "[3001,4000]" : t >= 4001 && (e = "[4001,--]"), e + "(ms)"
                }, t
            }(), n = new o;
            e.a = n
        }, "0tEz": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("Lr25"), n = i.n(o), s = i("yI9a"), r = i.n(s), l = i("gGqR"), c = i.n(l),
                d = i("v8oQ"), h = i.n(d), p = i("yCNF"), u = i.n(p), m = i("p3b7"), f = i.n(m), _ = i("UoIM"),
                g = function () {
                    var t = 3e3;
                    return function (e) {
                        return t += 1, e + t
                    }
                }(), v = function () {
                    var t = {};
                    return {
                        addItem: function (e, i) {
                            t[e] = i
                        }, removeItem: function (e) {
                            t[e] && delete t[e]
                        }, getItem: function (e) {
                            return e ? t[e] : t
                        }
                    }
                }(), y = function (t) {
                    function e() {
                        for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];
                        var a = t.apply(this, e) || this;
                        return a.initialize.apply(a, e), a
                    }

                    return a.a(e, t), e.prototype.propertys = function () {
                        this.wrapper = $("body"), this.id = h()("ui-view-"), this.template = "", this.datamodel = {}, this.events = {}, this.eventArr = {}, this.status = "init", this.needAnimat = !1, this.animateShowAction = null, this.animateHideAction = null, this.needRootWrapper = !0
                    }, e.prototype.addEvents = function (t) {
                        u()(t) && n()(this.events, t)
                    }, e.prototype._preventDefault = function (t) {
                        t.preventDefault()
                    }, e.prototype.on = function (t, e, i) {
                        this.eventArr[t] || (this.eventArr[t] = []), i ? this.eventArr[t].splice(0, 0, e) : this.eventArr[t].push(e)
                    }, e.prototype.off = function (t, e) {
                        this.eventArr[t] && (this.eventArr[t] = e ? r()(this.eventArr[t], e) : [])
                    }, e.prototype.trigger = function (t) {
                        for (var e = [], i = 1; i < arguments.length; i++) e[i - 1] = arguments[i];
                        var a = this.eventArr, o = [];
                        if (a[t]) for (var n = a[t].length, s = 0; s < n; s += 1) o[o.length] = (r = a[t][s]).call.apply(r, [this].concat(e));
                        return o;
                        var r
                    }, e.prototype.createRoot = function (t) {
                        this.needRootWrapper ? (this.$el = $('<div class="view" style="display: none; " id="' + this.id + '"></div>'), this.$el.html(t)) : this.$el = $(t).hide().attr("id", this.id)
                    }, e.prototype._isAddEvent = function (t) {
                        return "onCreate" === t || "onPreShow" === t || "onShow" === t || "onRefresh" === t || "onHide" === t
                    }, e.prototype.setOption = function (t) {
                        var e = this;
                        Object.keys(t || {}).forEach(function (i) {
                            "datamodel" === i || "events" === i ? n()(e[i], t[i]) : e._isAddEvent(i) ? e.on(i, t[i]) : e[i] = t[i]
                        })
                    }, e.prototype.initialize = function (t) {
                        this.propertys(), this.setOption(t), this.resetPropery(), this.addEvent(), this.create(), this.addSysEvents(), this.initElement(), v.addItem(this.id, this)
                    }, e.prototype.getUIContainer = function () {
                        return v.getItem()
                    }, e.prototype.addSysEvents = function () {
                        "function" == typeof this.availableFn && (this.removeSysEvents(), this.$el.on("click.system" + this.id, $.proxy(function (t) {
                            this.availableFn() || (t.preventDefault(), t.stopImmediatePropagation && t.stopImmediatePropagation())
                        }, this)))
                    }, e.prototype.removeSysEvents = function () {
                        this.$el.off(".system" + this.id)
                    }, e.prototype.resetPropery = function () {
                    }, e.prototype.addEvent = function () {
                    }, e.prototype.create = function () {
                        this.trigger("onPreCreate"), this.destroyNode && this.createRoot(this.render()), this.status = "create", this.trigger("onCreate")
                    }, e.prototype.initElement = function () {
                    }, e.prototype.render = function (t) {
                        var e = this.getViewModel() || {}, i = this.template;
                        return this.template ? (e && (i = c()(this.template) ? this.template(e) : f()(this.template)(e)), "function" == typeof t && t.call(this), i) : ""
                    }, e.prototype.refresh = function (t) {
                        if (this.resetPropery(), t) this.create(); else {
                            var e = this;
                            e.$el.html(e.render())
                        }
                        this.initElement(), "show" === this.status && this.show(), this.trigger("onRefresh")
                    }, e.prototype.show = function () {
                        this.wrapper[0] && this.$el[0] && ($.contains(this.wrapper[0], this.$el[0]) || this.wrapper[0] === this.$el[0] || (this.needEmptyWrapper && this.wrapper.html(""), this.replaceRoot ? (this.wrapper.replaceWith(this.$el), this.wrapper = this.$el) : this.wrapper.append(this.$el)), this.trigger("onPreShow"), this.needAnimat && (this.animateInClass ? this.hasAnimationProperty(this.animateInClass) : "function" == typeof this.animateShowAction) && "show" !== this.status ? this.animateShowAction.call(this, this.$el) : this.$el.show(), this.status = "show", this.addSysEvents(), this.bindEvents(), this.trigger("onShow"))
                    }, e.prototype.hide = function () {
                        var t = this;
                        this.$el && "show" === this.status && (this.trigger("onPreHide"), this.needAnimat && (this.animateOutClass ? this.hasAnimationProperty(this.animateOutClass) : "function" == typeof this.animateShowAction) && "hide" !== this.status ? this.animateHideAction.call(this, this.$el) : this.$el.hide(), this.status = "hide", this.unBindEvents(), this.removeSysEvents(), setTimeout(function () {
                            t.trigger("onHide")
                        }, 0))
                    }, e.prototype.hasAnimationProperty = function (t) {
                        var e = [$.fx.cssPrefix + "animation-name"], i = $("<div></div>");
                        return i.attr("class", t), $("body").append(i), "none" !== i.css(e[0]) ? (i.remove(), !0) : (i.remove(), !1)
                    }, e.prototype.destroy = function () {
                        this.status = "destroy", this.unBindEvents(), this.removeSysEvents(), v.removeItem(this.id), this.$el.remove(), this.trigger("onDestroy")
                    }, e.prototype.getViewModel = function () {
                        return this.datamodel
                    }, e.prototype.setzIndexTop = function (t, e) {
                        var i = e;
                        t || (t = this.$el), (!e || e > 10) && (i = 0), i *= 1e3, t.css("z-index", g(i))
                    }, e
                }(_.a);
            e.a = y, y.prototype.destroyNode = !0
        }, "19gJ": function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = new a.b({key: "P_LOGIN_GUIDE_STATUS", lifeTime: "24H"}), n = function () {
                function t(t) {
                    this.key = t || "loginguidestatus"
                }

                return t.prototype.setCache = function (t) {
                    o.setAttr(this.key, t || [])
                }, t.prototype.getCache = function () {
                    return o.getAttr(this.key) || []
                }, t.prototype.clearCache = function () {
                    o.removeAttr(this.key)
                }, t
            }();
            e.a = n
        }, "1C79": function (t, e, i) {
            function a(t, e, i, s, r) {
                var l = -1, c = t.length;
                for (i || (i = n), r || (r = []); ++l < c;) {
                    var d = t[l];
                    e > 0 && i(d) ? e > 1 ? a(d, e - 1, i, s, r) : o(r, d) : s || (r[r.length] = d)
                }
                return r
            }

            var o = i("uIr7"), n = i("Qp3N");
            t.exports = a
        }, "1QDk": function (t, e, i) {
            function a(t, e) {
                return o(t, n(t), e)
            }

            var o = i("tv3T"), n = i("09Qt");
            t.exports = a
        }, "1Yb9": function (t, e) {
            function i() {
                return !1
            }

            t.exports = i
        }, 2247: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length, o = Array(a); ++i < a;) o[i] = e(t[i], i, t);
                return o
            }

            t.exports = i
        }, "2Hvv": function (t, e, i) {
            function a(t) {
                return o(this.__data__, t) > -1
            }

            var o = i("imBK");
            t.exports = a
        }, "2N6f": function (t, e, i) {
            function a(t) {
                return s(n(t, void 0, o), t + "")
            }

            var o = i("rCVp"), n = i("Q2wK"), s = i("WHce");
            t.exports = a
        }, "2V6t": function (t, e, i) {
            "use strict";

            function a(t, e, i) {
                return i ? t | e : t & ~e
            }

            function o(t, e, i) {
                var o = [{type: 1, cur: "RMB", price: e.priceInfo.cnyTotalPrice, exg: e.priceInfo.exg}, {
                    type: 2,
                    cur: e.priceInfo.currency,
                    price: e.priceInfo.localTotalPrice,
                    exg: e.priceInfo.exg
                }], n = i.contrl || 0;
                n = a(n, 4, i.isMorning), n = a(n, 64, 4 === i.priceType), n = a(n, 128, "1" === i.comefrom), n = a(n, 256, "2" === i.comefrom);
                var s;
                return s = 4 === t.region ? 3 : t.isoversea ? 2 : 1, {
                    viewName: "hoteldetail",
                    isHourRoom: "hourroomlist" === i.fr,
                    cname: t.hotelname,
                    cityId: t.cityid,
                    id: t.hotelid,
                    biz: s,
                    rid: e.id,
                    roomName: e.name,
                    pay: 2 === e.pay ? 0 : 1,
                    spay: e.spay,
                    rateid: e.rateid || "",
                    ceckid: e.ceckid || 0,
                    inDay: i.inDay,
                    outDay: i.outDay,
                    num: i.num,
                    detail: o,
                    contrl: n,
                    chid: e.chid,
                    isRefund: e.hasCashback,
                    defaultSelectCoupon: e.discountId,
                    policy: e.shadowId,
                    lowest: e.priceLowestRoom ? 1 : 0
                }
            }

            function n(t) {
                var e = 2 === t.pay ? 0 : 1, i = t.spay;
                return 1 === e ? 1 : 2 === i ? 2 : 3 === i ? 3 : 0
            }

            function s(t) {
                if (t && t.agent && t.agent.shadowId > 0) {
                    var e = {name: "", icon: "", title: t.agent.title, subtitle: t.agent.subTitle};
                    P.set(e)
                }
            }

            function r(t, e, i) {
                var a = "h5_kezhan" === i.fr ? "h5_inn_mj_info" : "h5_htl_mj_info",
                    o = i.isoversea ? "o_h5_128_detail_booking" : "o_h5_80_detail_booking", n = {
                        hotelid: t.hotelid,
                        roomid: e.id,
                        basicroomid: e.bid,
                        checkin: i.inDay,
                        checkout: i.outDay,
                        roomsort: e.roomIndexofBaseroom,
                        roomsum: e.peerRoomsLength,
                        roomctype: 0,
                        shadowid: e.shadowId || "",
                        cityid: t.cityid,
                        isshadow: 0 === e.shadowId ? "F" : "T"
                    }, s = e && e.priceInfo || {}, r = s && s.couponReturnPromotionDomainModel || {},
                    l = s && s.cashBackPromotionDomainModel || {}, c = s && s.cnyTotalPrice || 0,
                    d = s && s.cnyPrice || 0, h = r && r.avgAmount && r.avgAmount.cnyAmount || 0,
                    p = l && l.avgAmount && l.avgAmount.cnyAmount || 0,
                    u = r && "Coupon_Return" === r.type || r && "Coupon_ImmediatelyMinus" === r.type ? h : 0,
                    m = l && "CashBack" === l.type ? p : 0, f = {
                        roomid: e.id,
                        hotelid: t.hotelid,
                        amount: c,
                        price: d || 0,
                        coupon: u || 0,
                        ticket: m || 0,
                        shadowid: e.shadowId || "",
                        checkin: i.inDay ? i.inDay.replace(/-/g, "").replace(/\//g, "") : "",
                        checkout: i.outDay ? i.outDay.replace(/-/g, "").replace(/\//g, "") : ""
                    };
                (new w.a).setOneMessage("detail_to_booking_price_info", JSON.stringify(f)), window.__bfi.push(["_tracklog", o, JSON.stringify(f)]), window.__bfi.push(["_tracklog", a, JSON.stringify(n)])
            }

            function l(t, e, i) {
                try {
                    r(t, e, i)
                } catch (t) {
                }
            }

            function c(t) {
                var e = "";
                if (t && t.priceInfo) {
                    var i = t.priceInfo;
                    e = "&cp=" + i.cnyTotalPrice + "_" + i.localTotalPrice + "_" + i.exg + "_" + i.currency
                }
                return e
            }

            function d(t, e) {
                var i = t.hotel, a = t.room, r = t.page;
                if (e = e || "", 1 === a.status) {
                    var d = o(i, a, r);
                    k.remove(), T.remove(), O.remove(), E.set(d), s(a), l(i, a, r);
                    var h = n(a), p = c(a),
                        u = Object(y.c)("booking?frflag=" + e + "&sct=" + r.sct + "&from=" + r.from + "&hotelid=" + i.hotelid + "&cityid=" + i.cityid + "&roomid=" + a.id + "&paytype=" + h + "&indate=" + r.inDay.replace("/", "").replace("/", "") + "&outdate=" + r.outDay.replace("/", "").replace("/", "") + "&rcount=" + r.rcount + "&ceckid=" + a.ceckid + "&rateid=" + a.rateid + "&shadowid=" + a.shadowId + "&couponid=" + a.discountId + "&lowest=" + (a.priceLowestRoom ? 1 : 0) + p + "&ul=1&isMorning=" + r.isMorning);
                    a.agent && a.shadowId && (u = u + "&agentName=" + a.agent.agentName), Object(b.c)("booking", u)
                }
            }

            function h(t, e, i) {
                var a = u()(t.roomlistinfo.rooms, function (t) {
                    return t.id === e && t.shadowId === i
                }), o = f()(t.roomlistinfo.rooms, function (t) {
                    return t.bid === a.bid
                });
                return {
                    room: g()({peerRooms: o, index: o.indexOf(a)}, a),
                    hotel: {
                        hotelid: t.hotelid,
                        hotelname: t.hotelname,
                        cityid: t.cityid,
                        region: t.region,
                        isOversea: t.isoversea
                    },
                    page: {
                        fr: (t.fr || "").toLowerCase(),
                        inDay: t.inday,
                        outDay: t.outday,
                        num: parseInt(t.rcount, 10) || 1,
                        rcount: parseInt(t.rcount, 10) || 1,
                        sct: Object(D.a)(t),
                        comefrom: t.comefrom,
                        contrl: parseInt(t.contrl, 10),
                        isMorning: t.isMorning,
                        priceType: t.pricetype,
                        from: void 0 !== t.from ? t.from : "",
                        isoversea: t.isoversea
                    }
                }
            }

            e.b = d, e.a = h;
            var p = i("kbi+"), u = i.n(p), m = i("RyI1"), f = i.n(m), _ = i("BUAs"), g = i.n(_), v = i("+b/N"),
                y = i("xvyn"), b = i("QVf9"), D = i("DvOG"), w = i("CJ1A"),
                E = new v.b({key: "U_HOTEL_BOOKING_CHECK_REQUEST", lifeTime: "1D", isUserData: !0, defaultData: {}}),
                k = new v.b({
                    key: "F_HOTEL_BOOKING_FORM",
                    lifeTime: "1D",
                    isUserData: !0,
                    defaultData: {roominfo: {num: 1}, contact: {confirm: 1}, remks: [], price: {}}
                }),
                T = new v.b({key: "S_HOTEL_BOOKING_CHECK_REQUEST", lifeTime: "1D", isUserData: !0, defaultData: {}}),
                O = new v.b({key: "P_HOTEL_DETAIL", lifeTime: "1D"}),
                P = new v.b({key: "P_HOTEL_VENDOR_IFNO", lifeTime: "30M"})
        }, "309y": function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length; ++i < a && !1 !== e(t[i], i, t);) ;
                return t
            }

            t.exports = i
        }, "3sAO": function (t, e) {
            t.exports = '<div class="l js_pop_box" rel="\u623f\u578b\u5f39\u5c42html\u533a\u57df"> <%if(title){%> <%if(ttype==\'mask\'){%> <div class="hd js_hd" rel="\u900f\u660e\u5934\u90e8"><%=title %><span class="a-area js_btn_close"><i class="l-close"></i></span></div> <%}else {%> <div class="hd js_hd gray" rel="\u7070\u8272\u56fa\u5b9a\u5934\u90e8"><%=title %><span class="a-area js_btn_close"><i class="l-close"></i></span></div> <%}%> <%} %> <% if(!!body && (typeof body).toLowerCase()==\'string\' && body.length>0){%> <div class="bd js_swrapper" rel="\u4e2d\u95f4\u5e26\u6eda\u52a8\u6761\u533a\u57df" style="overflow: hidden; position: relative;"><%=body%> </div> <%}%> <%if(!!footer && (typeof footer).toLowerCase()==\'string\' && footer.length>0){%> <div class="ed js_footer" rel="\u56fa\u5b9a\u5e95\u90e8"><%=footer%></div> <%}%> </div> '
        }, "4Fgk": function (t, e, i) {
            function a(t) {
                if (null == t) return 0;
                if (s(t)) return r(t) ? l(t) : t.length;
                var e = n(t);
                return e == c || e == d ? t.size : o(t).length
            }

            var o = i("/GnY"), n = i("gHOb"), s = i("bGc4"), r = i("JDN0"), l = i("GOFJ"), c = "[object Map]",
                d = "[object Set]";
            t.exports = a
        }, "4JxI": function (t, e, i) {
            "use strict";
            var a = i("+b/N"),
                o = new a.b({key: "P_HOTEL_DETAIL_ROOM_FILTERLIMITS", lifeTime: "1D", isUserData: !0, defaultData: {}}),
                n = {
                    setKey: function (t, e) {
                        o.setAttr(t, e)
                    }, getKey: function (t) {
                        return o.getAttr(t)
                    }, set: function (t) {
                        o.set(t)
                    }, get: function () {
                        return o.get()
                    }, remove: function () {
                        o.remove()
                    }
                };
            e.a = n
        }, "5/Qr": function (t, e) {
            function i(t) {
                return t
            }

            t.exports = i
        }, "56Xt": function (t, e, i) {
            "use strict";

            function a(t) {
                var e = $(t.currentTarget), i = e.data("url");
                i && (i += i.indexOf("?") < 0 ? "?" : "&", i += "from=" + encodeURIComponent(window.location.href), Object(o.c)(null, i))
            }

            e.a = a;
            var o = i("QVf9")
        }, "5GJu": function (t, e) {
            t.exports = '<ul class="base-info"> <li class="item"> <% if(area && area !== "0"){ %> <span class="tit c333">\u9762\u79ef\uff1a</span> <%} else if(floor && floor !== "0"){ %> <span class="tit c333">\u697c\u5c42\uff1a</span> <%} %> <%\r\n    var descArr = [];\r\n    if(area && area !== "0"){\r\n      descArr.push(area.indexOf("m\xb2") > -1 ? area : area + "m\xb2");\r\n    }\r\n    if(floor && floor !== "0"){\r\n      descArr.push(floor);\r\n    }\r\n    descArr.push(max.indexOf("\u53ef\u4f4f") > -1 ? max : "\u53ef\u4f4f" + max);\r\n    if(windowDes){\r\n      descArr.push(windowDes);\r\n    }\r\n    descArr.push(balcony);\r\n    %> <%if(descArr){%> <span class="bfc"><%=descArr.join("  |  ")%></span> <%}else{%> <span class="bfc dl-color4">\u65e0</span> <%}%> </li> <%if(isBreakfast){%> <li class="item"> <span class="tit">\u65e9\u9910</span> <%\r\n    var breakfastDesc = "\u65e0\u65e9\u9910";\r\n    switch(breakfast){\r\n      case "\u5355\u65e9":\r\n          breakfastDesc = "\u6bcf\u65e5\u5355\u65e9";\r\n          break;\r\n      case "\u53cc\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u53cc\u65e9";\r\n        break;\r\n      case "\u4e09\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e09\u65e9";\r\n        break;\r\n      case "\u56db\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u56db\u65e9";\r\n        break;\r\n      case "\u4e94\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e94\u65e9";\r\n        break;\r\n      case "\u516d\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u516d\u65e9";\r\n        break;\r\n      case "\u4e03\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e03\u65e9";\r\n        break;\r\n      case "\u516b\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u516b\u65e9";\r\n        break;\r\n      case "\u4e5d\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e5d\u65e9";\r\n        break;\r\n      case "\u591a\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u591a\u65e9";\r\n        break;\r\n    }\r\n    %> <span class="bfc"><%=breakfastDesc%></span> </li> <%}%> <%if(bedWidth) {%> <li class="item"> <span class="tit">\u5e8a\u5bbd</span> <span class="bfc"><%=bedWidth%></span> </li> <%}else{%> <li class="item"> <span class="tit">\u5e8a\u5bbd</span> <span class="bfc dl-color4">\u65e0</span> </li> <%}%> <%if(smoke){%> <li class="item"> <span class="tit">\u65e0\u70df</span> <span class="bfc"><%=smoke%></span> </li> <%}else{%> <li class="item"> <span class="tit">\u65e0\u70df</span> <span class="bfc dl-color4">\u65e0</span> </li> <%}%> <%if (net) {%> <li class="item"> <span class="tit">\u5bbd\u5e26</span> <span class="bfc"><%=net.replace(/wi-fi/ig, "WiFi").replace(/wifi/ig, "WiFi").replace(/\u514d\u8d39/g, \'<span class="sp-color7">\u514d\u8d39</span>\')%></span> </li> <%}else{%> <li class="item"> <span class="tit">\u5bbd\u5e26</span> <span class="bfc dl-color4">\u65e0</span> </li> <%}%> </ul> '
        }, "5Hxe": function (t, e) {
            t.exports = ' <div> <%=slider%> <div class="l-base c-box l-tb-border mb5"> <%=basicinfo%> <%=facility%> </div> <%=paydescandnotice%> <%=tags%> <%=tax%> </div>'
        }, "64O+": function (t, e) {
            t.exports = '<%if (typeof pay !== "undefined") {%> <ul class="l-policy l-list l-tb-border mb5"><li class="item"><b>\u652f\u4ed8\u65b9\u5f0f</b> <%if (pay === 1) {%> <p class="l-color6 mt5">\u5230\u5e97\u4ed8</p> <p class="l-color4 ellips3">\u65e0\u9700\u63d0\u524d\u652f\u4ed8\u623f\u8d39\uff0c\u5230\u5e97\u540e\u5728\u9152\u5e97\u524d\u53f0\u4ed8\u6b3e\u3002</p> <%} else if (pay === 2) {%> <p class="l-color1 mt5">\u5728\u7ebf\u4ed8</p> <p class="l-color4 ellips3">\u623f\u8d39\u9700\u63d0\u524d\u652f\u4ed8\uff0c\u53ef\u4f7f\u7528\u94f6\u884c\u5361\u3001\u652f\u4ed8\u5b9d\u3001\u5fae\u4fe1\u7b49\u8fdb\u884c\u4ed8\u6b3e\u3002</p> <%} else if (pay === 3) {%> <p class="l-color2 mt5">\u62c5\u4fdd</p> <p class="l-color4 ellips3">\u652f\u4ed8\u62c5\u4fdd\u91d1\uff0c\u63d0\u524d\u9501\u5b9a\u623f\u6e90\u3002\u5230\u5e97\u9700\u53e6\u4ed8\u623f\u8d39\uff0c\u62c5\u4fdd\u91d1\u4e8e\u5165\u4f4f\u79bb\u5e97\u540e3\u65e5\u5185\u9000\u8fd8\u3002</p> <%}}%> </li></ul> '
        }, "6HpJ": function (t, e, i) {
            "use strict";

            function a(t) {
                return t < 10 ? "0" + t : t.toString()
            }

            var o = i("TToO"), n = i("LSBV"), s = i.n(n), r = i("BUAs"), l = i.n(r), c = i("Zqam"), d = i.n(c),
                h = i("jnGA"), p = i("ArDj"), u = i("waeE"), m = i("6rBr"), f = i("b+im"), _ = function (t) {
                    function e() {
                        for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];
                        var a = t.apply(this, e) || this;
                        return a.validStartDate_old = a.validStartDate, a.doEvents = !0, a.mask = new h.a, a.mask.events.click = function () {
                            a._hide()
                        }, a
                    }

                    return o.a(e, t), e.prototype.isValidJetLag = function (t) {
                        var e = !1;
                        if (null === t || void 0 === t || Number.isNaN(parseInt(t, 10))) return !1;
                        t = parseInt(t / 3600, 10);
                        return t >= -20 && t <= 6 && (e = !0), e
                    }, e.prototype.getDateInfo = function (t) {
                        return u.getDateInfo(t)
                    }, e.prototype.propertys = function () {
                        var e = this;
                        t.prototype.propertys.call(this), this.ishide = !0, this.template = d.a, this.jetLag = 0, this.curTimeBaseTimeZone = new Date(Object(m.d)()), this.validStartDate = new Date(Object(m.d)().getTime() + (this.jetLag - 0)), this.validStartDate.setHours(0, 0, 0, 0), this.validEndDate = null, this.recentDaysHaveText = !0;
                        var i = new Date(Object(m.d)().getTime()), o = i.getHours();
                        this.dateObj = i, this.datamodel = l()(this.datamodel, {
                            scope: this,
                            startTime: null,
                            endTime: null,
                            weekDayArr: ["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"],
                            displayMonthNum: 12,
                            tips: "",
                            selfTips: "",
                            footDate: {},
                            showNav: !1,
                            curTime: this.dateObj.getTime(),
                            defineLi: !1,
                            showRestIcon: !0,
                            isMorning: !1,
                            showMorningSwitch: o >= 0 && o < 6 && !this.datamodel.isOversea,
                            miniUI: {topBar: {html: "", visible: !1}, layer: {text: "", visible: !1}},
                            curtext: "\u8bf7\u9009\u62e9\u5165\u4f4f\u65e5\u671f",
                            selectDate: null,
                            isOversea: !1,
                            MonthClapFn: function (t, e) {
                                return e += 1, t + "\u5e74" + e + "\u6708"
                            },
                            onSelInDay: function () {
                            },
                            onSelOutDay: function () {
                            },
                            dayItemAction: function () {
                            },
                            dayItemFn: function (t, e, i, o) {
                                "number" != typeof t && (o = t), o.setHours(0, 0, 0, 0), t = o.getFullYear(), e = o.getMonth(), i = o.getDate();
                                var n = Object(m.d)(), s = new m.a(new Date(n.getTime() + 1e3 * this.jetLag)),
                                    r = Object(m.c)(s.format("Y-m-d"), new m.a(o).format("Y-m-d")),
                                    l = t.toString() + a(e + 1) + a(i), c = a(e + 1) + a(i), d = u.getDateInfo(o),
                                    h = {day: i, solarHoliday: d.holiday || "", lunarHoliday: d.chineseday || "", day1: ""};
                                this.solarHoliday[c] && (h.solarHoliday = this.solarHoliday[c]), this.lunarHoliday[l] && (h.lunarHoliday = this.lunarHoliday[l]);
                                var p = [], f = [], _ = {innerHtml: "", parentDOMClass: "", dateInfo: h};
                                switch (r) {
                                    case 0:
                                        h.day1 = this.recentDaysHaveText ? "\u4eca\u5929" : "";
                                        break;
                                    default:
                                        o.day1 = ""
                                }
                                return this.specialDates, p[0] = '<p class="calendar-day">' + h.day + "</p>", (h.solarHoliday || h.lunarHoliday) && (p[1] = '<p class="calendar-note">' + (h.lunarHoliday || h.solarHoliday) + "</p>", f.push("cui_cld_day_havetxt")), h.day1 && (p[1] = '<p class="calendar-note">' + h.day1 + "</p>", f.push("cui_cld_day_havetxt")), (h.lunarHoliday || h.solarHoliday) && f.push("calendar-holiday"), this.dayItemAction ? _.innerHtml = this.dayItemAction.call(this, h, t, e, i, o) : _.innerHtml = p.join(""), this.validStartDate && o.getTime() < this.validStartDate.getTime() && (f.push("calender-invalid"), f.push("calendar-daypast"), f.push("js_invalid")), this.validEndDate && o.getTime() > this.validEndDate.getTime() && (f.push("calender-invalid"), f.push("calendar-daypast"), f.push("js_invalid")), this.datamodel.selectOutDay_old && o.getTime() === this.datamodel.selectOutDay_old.getTime() && f.push("calendar-range"), this.datamodel.selectDate && o.getTime() === this.datamodel.selectDate.getTime() && (f.push("calendar-current"), f.push("cui_cld_daycrt"), this.selectDateItemFn && (h.day1 = "\u5165\u4f4f", _.innerHtml = this.selectDateItemFn.call(this, h, o)), this.selectInDateItemFn && (h.day1 = "\u5165\u4f4f", _.innerHtml = this.selectInDateItemFn.call(this, h, o, this.jetLag))), this.datamodel.selectInDay && o.getTime() === this.datamodel.selectInDay.getTime() && (f.push("calendar-current"), f.push("cui_cld_daycrt"), this.selectInDateItemFn && (h.day1 = "\u5165\u4f4f", _.innerHtml = this.selectInDateItemFn.call(this, h, o, this.jetLag))), this.datamodel.selectOutDay && o.getTime() === this.datamodel.selectOutDay.getTime() && (f = [], f.push("calendar-current"), f.push("cui_cld_daycrt"), this.selectOutDateItemFn && (this.datamodel.selectInDay.getTime() === this.datamodel.selectOutDay.getTime() ? h.day1 = "\u5165\u79bb" : h.day1 = "\u79bb\u5e97", _.innerHtml = this.selectOutDateItemFn.call(this, h, o, this.jetLag))), this.datamodel.showRestIcon && (this.rest[l] && (f.push("calendar-holiday"), _.innerHtml += '<i class="calendar-holiday-h">\u4f11</i>'), this.work[l] && (_.innerHtml += '<i class="calendar-holiday-w">\u73ed</i>')), this.datamodel.selectInDay && this.datamodel.selectOutDay && o.getTime() > this.datamodel.selectInDay.getTime() && o.getTime() < this.datamodel.selectOutDay.getTime() && f.push("calendar-range"), _.parentDOMClass = f.join(" "), _
                            }
                        }), this.events = {
                            "click .cui_calendar_item ": "itemAction",
                            "click .calendar-weehours em": function (t) {
                                var i = $(t.currentTarget);
                                e.$(".calendar-weehours em").removeClass("current"), i.addClass("current");
                                var a = i.data("ismoring");
                                a && !Number.isNaN(a) && 1 === parseInt(a, 10) ? e.datamodel.isMorning = !0 : e.datamodel.isMorning = !1, e.refresh()
                            },
                            "click .js_cal_back": function () {
                                e.hide()
                            },
                            "click .js_cal_ok": function (t) {
                                e.datamodel.selectOutDay ? e.onItemClick && e.onDateOK.call(e, e.datamodel.selectInDay, e.$el, t, e.datamodel.selcalendartype, e.datamodel) : e.refresh()
                            }
                        }
                    }, e.prototype.setMoringDate = function () {
                    }, e.prototype.resetHeader = function () {
                    }, e.prototype.show = function () {
                        t.prototype.show.call(this), this.mask.show(), this.resetHeader();
                        var e = this;
                        setTimeout(function () {
                            e.setzIndexTop(null, 8e3)
                        }, 10), e.ishide && new Promise(function (t) {
                            t()
                        }).then(i.bind(null, "F4KM")).then(function (t) {
                            t.stateobserve(function () {
                                e._hide()
                            })
                        }), e.ishide = !1;
                        var a = 0;
                        this.scroll && (a = this.scroll.y, this.scroll.destroy()), this.scrollOpts = {
                            wrapper: this.$(".calendar-body").parent(),
                            scroller: this.$(".calendar-body"),
                            scrollType: "y",
                            step: 5,
                            bounceTime: 200,
                            momentum: !0,
                            scrollOffset: 1
                        }, this.$(".calendar-body").parent().css({height: this.$(".js_inoutday_calendar").height() - 3 * this.$(".cm-header").height() + "px"}), this.scroll = new f.a(this.scrollOpts), this.scroll.scroller.y = a, this.scroll.y = a, this.scroll.maxScrollY -= 7 * this.$(".cui_cal_header").offset().height, this.scroll.scrollTo(0, a)
                    }, e.prototype._hide = function () {
                        this.status = "hide", this.mask.hide(), this.ishide = !0, this.doEvents = !0, this.$el.find(".js_inoutday_calendar").addClass("animated fadeOutDown"), this.$(".js_day_toast").hide()
                    }, e.prototype.hide = function () {
                        history.back()
                    }, e.prototype.navClick = function (t) {
                        var e = this, i = $(t.currentTarget), a = e.$el.find(".cm-calendar-quick-nav .active"),
                            o = e.$el.find(".cm-day-list .js_calendar_item .lh_canlendar_color_hightlight");
                        a.removeClass("active"), o.removeClass("lh_canlendar_color_hightlight"), i.addClass("active"), i.css("transform", "scale(0.8, 0.8)"), i.animate({transform: "scale(1, 1)"}, 300);
                        var n = i.attr("data-date"), s = null;
                        s = e.$el.find('.js_calendar_item[data-date="' + n + '"]');
                        var r = 0;
                        if (s.length > 0) var l = setInterval(function () {
                            if (r > 150) {
                                clearInterval(l);
                                var t = e.$el.find('.js_calendar_item[data-date="' + n + '"]');
                                t.addClass("cm-field-title--active"), setTimeout(function () {
                                    t.removeClass("cm-field-title--active")
                                }, 2e3)
                            }
                            window.scrollTo(0, parseInt(s.offset().top, 10) - r), r += 50
                        }, 60)
                    }, e.prototype.isToday = function (t) {
                        var e = new m.a(Object(m.d)().getTime()), i = new m.a(t);
                        return 0 === Object(m.c)(e.format("Y-m-d"), i.format("Y-m-d"))
                    }, e.prototype.itemAction = function (t) {
                        if (this.doEvents) {
                            var e = $(t.currentTarget);
                            if (!e.hasClass("js_invalid")) {
                                var i = e.attr("data-date");
                                if (i && (i = i.split("-"), 3 === i.length)) {
                                    i = new Date(i[0], i[1], i[2]);
                                    var a = this.datamodel.selcalendartype, o = new Date(Object(m.d)().getTime()),
                                        n = o.getHours();
                                    if (1 === parseInt(a, 10)) {
                                        this.datamodel.selcalendartype = 2, this.datamodel.curtext = "\u8bf7\u9009\u62e9\u79bb\u5e97\u65e5\u671f";
                                        var s = new m.a(i);
                                        this.datamodel.selectInDay = i, this.isToday(s) ? this.datamodel.showMorningSwitch = n >= 0 && n < 6 && !this.datamodel.isOversea : (this.datamodel.isMorning = !1, this.datamodel.showMorningSwitch = !1);
                                        var r = new Date(s.addDay(28).date);
                                        this.datamodel.selectOutDay = !1, this.validEndDate = r, this.refresh()
                                    } else {
                                        if (this.datamodel.showMorningSwitch && this.datamodel.isMorning) if (i < this.datamodel.selectInDay) {
                                            this.datamodel.selcalendartype = 2, this.datamodel.selectInDay = i, this.datamodel.selectOutDay = !1;
                                            var s = new m.a(i);
                                            this.isToday(s) || (this.datamodel.isMorning = !1);
                                            var r = new Date(s.addDay(26).date);
                                            this.datamodel.curtext = "\u8bf7\u9009\u62e9\u79bb\u5e97\u65e5\u671f", this.validEndDate = r
                                        } else this.datamodel.selcalendartype = 1, this.datamodel.selectOutDay = i, this.datamodel.adddays = Object(m.c)(new m.a(this.datamodel.selectInDay).format("Y-m-d"), new m.a(this.datamodel.selectOutDay).format("Y-m-d")) + 1, this.datamodel.curtext = "", this.datamodel.miniUI.layer.text ? this.datamodel.miniUI.layer.visible = !0 : this.datamodel.miniUI.layer.visible = !1; else if (i <= this.datamodel.selectInDay) {
                                            this.datamodel.selcalendartype = 2, this.datamodel.selectInDay = i, this.datamodel.selectOutDay = !1;
                                            var s = new m.a(i);
                                            this.isToday(s) || (this.datamodel.isMorning = !1);
                                            var r = new Date(s.addDay(28).date);
                                            this.datamodel.curtext = "\u8bf7\u9009\u62e9\u79bb\u5e97\u65e5\u671f", this.validEndDate = r
                                        } else {
                                            if (this.datamodel.selcalendartype = 1, this.datamodel.selectOutDay = i, this.datamodel.adddays = Object(m.c)(new m.a(this.datamodel.selectInDay).format("Y-m-d"), new m.a(this.datamodel.selectOutDay).format("Y-m-d")), this.datamodel.curtext = "", this.datamodel.miniUI.layer.text ? this.datamodel.miniUI.layer.visible = !0 : this.datamodel.miniUI.layer.visible = !1, !this.datamodel.showMorningSwitch && this.onItemClick) {
                                                var l = this;
                                                clearTimeout(this.stid), l.doEvents = !1, this.stid = setTimeout(function () {
                                                    l.doEvents = !0, l.onDateOK.call(l, i, e, t, a, l.datamodel)
                                                }, 800)
                                            }
                                            this.datamodel.curtext = "\u4f4f" + this.datamodel.adddays + "\u665a"
                                        }
                                        this.refresh(), this.resetHeader()
                                    }
                                    this.$(".js_day_toast").appendTo(2 === this.$(".calendar-current").length ? this.$(".calendar-current").eq(1) : this.$(".calendar-current").eq(0)).show()
                                }
                            }
                        }
                    }, e.prototype.setDate = function (t, e) {
                        this.datamodel.selectInDay = t, this.datamodel.selectOutDay = e
                    }, e.prototype.onDateOK = function (t, e, i, a) {
                        this.onItemClick && this.onItemClick.call(this, t, e, i, a, this.datamodel)
                    }, e.prototype.renderMoringPanel = function () {
                    }, e.prototype.render = function () {
                        var e = new Date(Object(m.d)().getTime()), i = e.getHours(),
                            a = i >= 0 && i < 6 && !this.datamodel.isOversea;
                        if (this.datamodel.showMorningSwitch = a, this.isToday(this.datamodel.selectInDay)) {
                            if (this.datamodel.isMorning && this.datamodel.selectOutDay) {
                                var o = new m.a(this.datamodel.selectInDay);
                                this.datamodel.selectOutDay = o.addDay(this.datamodel.adddays - 1).date
                            } else if (this.datamodel.selectOutDay) {
                                var o = new m.a(this.datamodel.selectInDay);
                                this.datamodel.selectOutDay = o.addDay(this.datamodel.adddays).date
                            }
                        } else this.datamodel.showMorningSwitch = !1;
                        1 === parseInt(this.datamodel.cityType, 10) && (this.datamodel.miniUI.layer.text = ""), this.datamodel.curtext || this.datamodel.miniUI.layer.text ? this.datamodel.miniUI.layer.visible = !0 : this.datamodel.miniUI.layer.visible = !1, this.isRefresh && (this.scrollTop = this.$(".js_inoutday_calendar")[0].scrollTop);
                        var n = t.prototype.render.call(this);
                        return this.isRefresh = !0, n
                    }, e.prototype.initElement = function () {
                        t.prototype.initElement.call(this), this.scrollTop && this.$(".js_inoutday_calendar").scrollTop(this.scrollTop)
                    }, e.prototype.resetPropery = function () {
                        for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];
                        t.prototype.resetPropery.apply(this, e), this.curTimeBaseTimeZone = new Date(Object(m.d)()), this.isValidJetLag(this.jetLag) || (this.jetLag = 0), s()(this.validStartDate) ? (this.validStartDate.setHours(0, 0, 0, 0), this.startTime = this.validStartDate) : (this.validStartDate = new Date(Object(m.d)().getTime() + 1e3 * this.jetLag), this.validStartDate.setHours(0, 0, 0, 0), this.startTime = this.validStartDate), s()(this.validEndDate) ? (this.validEndDate.setHours(0, 0, 0, 0), this.endTime = this.validEndDate) : this.validEndDate = null, s()(this.datamodel.selectDate) ? this.datamodel.selectDate.setHours(0, 0, 0, 0) : this.datamodel.selectDate = null, this.datamodel.year = this.validStartDate.getFullYear(), this.datamodel.dateVSMS = this.validStartDate.getTime();
                        for (var a = new Date(new Date(Object(m.d)().getTime() + 1e3 * this.jetLag)), o = {"\u4eca\u5929": a.getFullYear() + "-" + a.getMonth() + "-" + a.getDate()}, n = new m.a(this.datamodel.startTime), r = new m.a(this.datamodel.endDate), l = n; l.getTime() <= r.getTime(); l = l.addDay(1)) {
                            var c = u.getDateInfo(l.date);
                            if (c.holiday || c.chineseday) {
                                var d = c.holiday || c.chineseday, h = l.date;
                                if (h.getTime() > (new Date).getTime() && !o[d]) {
                                    var p = h.getFullYear() + "-" + h.getMonth() + "-" + h.getDate();
                                    o[d] = p
                                }
                            }
                        }
                        this.datamodel.showNav = !1
                    }, e.prototype.refresh = function () {
                        "show" === this.status ? this.template = d.a.split("animated fadeInUp").join("") : this.template = d.a, t.prototype.refresh.call(this)
                    }, e
                }(p.a);
            e.a = _
        }, "6M8Y": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = i("jnGA"), s = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.mask = new n.a, this.type = "layer", this.resetDefaultProperty()
                }, e.prototype.resetDefaultProperty = function () {
                    this.mask.resetDefaultProperty(), this.needMask = !0, this.needAnimat = !0, this.maskToHide = !0, this.needReposition = !0, this.hasPushState = history && history.pushState, this.hasPushState = !1, this.historyBack = !1, this.animateInClass = "cm-up-in", this.animateOutClass = "cm-up-out", this.animateShowAction = null, this.animateHideAction = null, this.unbindTouchEvent || (this.events = {touchmove: "_preventDefault"})
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this, e), this.clearRes()
                }, e.prototype.resetPropery = function () {
                    var t = this;
                    this.needAnimat && (this.animateShowAction || (this.animateShowAction = function (e) {
                        var i = !1;
                        e.show(), e.addClass(t.animateInClass), e.one($.fx.animationEnd, function () {
                            i = !0, e.removeClass(t.animateInClass)
                        }), setTimeout(function () {
                            i || (e.removeClass(t.animateInClass), e.off($.fx.animationEnd))
                        }, 350)
                    }), this.animateHideAction || (this.animateHideAction = function (e) {
                        var i = !1;
                        e.addClass(t.animateOutClass), e.one($.fx.animationEnd, function () {
                            i = !0, e.removeClass(t.animateOutClass), e.hide()
                        }), setTimeout(function () {
                            i || (e.removeClass(t.animateOutClass), e.off($.fx.animationEnd), e.hide())
                        }, 350)
                    })), this.mask.needAnimat = !1, this.needAnimat && this.animateHideAction ? this.mask.animateHideAction = function (e) {
                        var i = !1;
                        e.addClass(t.mask.animateOutClass), e.one($.fx.animationEnd, function () {
                            i = !0, e.removeClass(t.mask.animateOutClass), e.hide()
                        }), setTimeout(function () {
                            i || (e.removeClass(t.mask.animateOutClass), e.off($.fx.animationEnd), e.hide())
                        }, 350)
                    } : this.mask.animateHideAction = null, this._setMaskEvent()
                }, e.prototype._setMaskEvent = function () {
                    var t = this;
                    this.needMask && this.maskToHide && this.mask.addEvents({
                        click: function () {
                            t.hide()
                        }
                    })
                }, e.prototype.clearRes = function () {
                }, e.prototype._addPushStateEvent = function () {
                    this.hasPushState && (history.pushState({}, document.title, location.href), this.historyBack = !1, $(window).on("popstate.pageviewpopstate" + this.id, $.proxy(function () {
                        this.historyBack = !0, this.hide()
                    }, this)))
                }, e.prototype._removePushStateEvent = function () {
                    this.hasPushState && $(window).off(".pageviewpopstate" + this.id)
                }, e.prototype.addEvent = function () {
                    this.on("onCreate", function () {
                        this.$el.addClass("cui-layer")
                    }), this.on("onPreShow", function () {
                        this.needMask && this.mask.show()
                    }), this.on("onShow", function () {
                        this.setzIndexTop(), this._addPushStateEvent(), this.needReposition && this.reposition()
                    }), this.on("onPreHide", function () {
                        this.hasPushState && !this.historyBack && history.back()
                    }), this.on("onHide", function () {
                        this.hasPushState && !this.historyBack || (this.mask.hide(), this._removePushStateEvent())
                    }), this.on("onDestroy", function () {
                        this.mask.destroy()
                    })
                }, e.prototype.reposition = function () {
                    var t = this;
                    window.navigator.userAgent.indexOf("baidu") > 0 ? setTimeout(function () {
                        var e = t.$el.eq(0).attr("style");
                        e = e.replace(/(.*);;.*/, "$1;"), t.$el.eq(0).attr("style", e), t.$el.css({
                            "margin-left": -t.$el.width() / 2 + "px",
                            "margin-top": -t.$el.height() / 2 + "px"
                        })
                    }, 200) : this.$el.css({
                        "margin-left": -this.$el.width() / 2 + "px",
                        "margin-top": -this.$el.height() / 2 + "px"
                    })
                }, e
            }(o.a);
            e.a = s
        }, "6V0j": function (t, e) {
            t.exports = '<style> .service-txt { text-align: center; margin: 1.75rem 0 2.25rem; }\r\n  .service-txt-pop .bfc {overflow: hidden;}\r\n  .service-icon { display: inline-block; background-image: url("https://pages.ctrip.com/hotel_h5/res/img/service-txt-v4.png"); background-repeat: no-repeat; background-size: 17rem 7.5rem; vertical-align: middle; }\r\n  .service-icon-1 { width: 17rem; height: 3.5rem; }\r\n  .service-icon-1-mini {width: 17rem; height: 1.1rem;background-position:center -6.1rem}\r\n  .service-icon-5 {width: 2rem;height: 100%;background-position: -6rem -3.5rem;position: absolute;right:0;top:0;}\r\n  .service-icon-2,.service-icon-3,.service-icon-4 {width: 2rem;height: 2rem;float: left;margin-right: 0.75rem}\r\n  .service-icon-2 {background-position: 0 -3.5rem}\r\n  .service-icon-3 {background-position: -2rem -3.5rem}\r\n  .service-icon-4 {background-position: -4rem -3.5rem}\r\n  .service-txt-pop {width:15.25rem;position: fixed;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);overflow: hidden;}\r\n  .service-txt-pop .hd {background-color: #4289ff;padding: 0.5rem;text-align: center;color: #fff;font-size: 0.8rem;position: relative;border-radius: 0.35rem 0.35rem 0 0;}\r\n  .service-txt-pop .bd {padding: 1.5rem 1.75rem 0;background-color: #fff;border-radius:0 0 0.35rem 0.35rem}\r\n  .service-txt-pop .bd li {padding-bottom: 1.5rem;color: #666}\r\n  .service-txt-pop .s-color {font-size: 0.8rem;color: #4289ff} </style> <div class="service-txt-pop"> <div class="hd">\u4e13\u4e1a\u670d\u52a1 \u5168\u7a0b\u4fdd\u969c<i class="service-icon service-icon-5 js_close_btn"></i></div> <ul class="bd"> <li class="item"> <i class="service-icon service-icon-2"></i> <div class="bfc"> <p class="s-color">\u670d\u52a1\u9ad8\u6807\u51c6 \u623f\u6e90\u6709\u4fdd\u969c</p> <p>\u4e00\u8bfa\u5343\u91d1\uff0c\u786e\u4fdd\u60a8\u5165\u4f4f\u65e0\u5fe7</p> </div> </li> <li class="item"> <i class="service-icon service-icon-3"></i> <div class="bfc"> <p class="s-color">7\xd724\u5c0f\u65f6\u4e13\u4e1a\u670d\u52a1</p> <p>\u8d85\u8fc710,000\u540d\u5458\u5de5\u70ed\u60c5\u670d\u52a1</p> </div> </li> <li class="item"> <i class="service-icon service-icon-4"></i> <div class="bfc"> <p class="s-color">122,000,000+\u771f\u5b9e\u70b9\u8bc4</p> <p>\u6d77\u91cf\u4fe1\u606f\u5168\u65b9\u4f4d\u53c2\u8003</p> </div> </li> </ul> </div> '
        }, "6kJs": function (t, e, i) {
            function a(t, e, i) {
                var a = -1;
                e = o(e.length ? e : [d], l(n));
                var h = s(t, function (t, i, n) {
                    return {
                        criteria: o(e, function (e) {
                            return e(t)
                        }), index: ++a, value: t
                    }
                });
                return r(h, function (t, e) {
                    return c(t, e, i)
                })
            }

            var o = i("Hxdr"), n = i("JyYQ"), s = i("yzuE"), r = i("gpZ8"), l = i("S7p9"), c = i("Oo6K"), d = i("wSKX");
            t.exports = a
        }, "7YkW": function (t, e, i) {
            function a() {
                if (!arguments.length) return [];
                var t = arguments[0];
                return o(t) ? t : [t]
            }

            var o = i("NGEn");
            t.exports = a
        }, "8DyH": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("BUAs"), n = i.n(o), s = i("gGqR"), r = i.n(s), l = i("J009"), c = i.n(l),
                d = i("0tEz"), h = i("b+im"), p = i("NbKF"), u = i.n(p), m = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.propertys = function () {
                        t.prototype.propertys.call(this), this.template = u.a, this.datamodel = {
                            key: this.id,
                            className: "",
                            curClass: "current",
                            data: [],
                            index: 0
                        }, this.itemNum = 0, this.displayNum = 3, this.animatTime = 100, this.momentum = !0, this.needLoop = !1, this.itemWidth = 0, this.itemHeight = 0, this.scrollWidth = 0, this.needRootWrapper = !1, this.scrollOffset = 0, this.scroll = null, this.events = {"click .js_scroller>li": "itemClickAction"}, this.changed = function (t) {
                        }, this.itemClick = function (t) {
                        }
                    }, e.prototype.itemClickAction = function (t) {
                        var e = $(t.currentTarget), i = e.attr("data-index");
                        this.setIndex(i), this.itemClick.call(this, this.getSelected())
                    }, e.prototype.initialize = function (e) {
                        t.prototype.initialize.call(this, e)
                    }, e.prototype.resetPropery = function () {
                        this._resetLoop(), this._resetNum(), this._resetIndex()
                    }, e.prototype._resetLoop = function () {
                        this.needLoop && 0 !== this.datamodel.data.length && (this.datamodel.firstLoopItem = $.extend({}, this.datamodel.data[this.datamodel.data.length - 1], !0), this.datamodel.lastLoopItem = $.extend({}, this.datamodel.data[0], !0))
                    }, e.prototype._resetIndex = function () {
                        if (this.datamodel.id) for (var t = 0, e = this.datamodel.data.length; t < e; t++) if (this.datamodel.id === this.datamodel.data[t].id) {
                            this.datamodel.index = t;
                            break
                        }
                    }, e.prototype._resetNum = function () {
                        this.itemNum = this.datamodel.data.length
                    }, e.prototype.initElement = function () {
                        this.swrapper = this.$el, this.scroller = this.$(".js_scroller")
                    }, e.prototype.initSize = function () {
                        var t = this.$el.parent(), e = t[0] && t[0].clientHeight || t.height(),
                            i = this.needLoop ? this.itemNum + 2 : this.itemNum;
                        this.wrapeWidth = this.swrapper[0] && this.swrapper[0].clientWidth || this.swrapper.width(), this.itemWidth = parseInt(this.wrapeWidth / this.displayNum, 10), this.scroller.find("li").width(this.itemWidth), this.scroller.width(this.itemWidth * i), this.itemHeight = this.scroller.height(), this.itemHeight = e, this.scroller.find("li").height(this.itemHeight), this.swrapper.css({height: this.itemHeight + "px"}), this.scrollOffset = (this.displayNum - 1) / 2 * this.itemWidth
                    }, e.prototype.reload = function (t) {
                        n()(this.datamodel, t), this.scroll && (this.scroll.destroy(), this.scroll = null), this.refresh()
                    }, e.prototype._initScroll = function () {
                        this.scroll && this.scroll.destroy(), this.scroll = new h.a({
                            scrollbars: !1,
                            scrollOffset: this.scrollOffset,
                            scrollType: "x",
                            step: this.itemWidth,
                            wrapper: this.swrapper,
                            bounceTime: 200,
                            momentum: this.momentum,
                            scroller: this.scroller
                        }), this.scroll.on("scrollEnd", $.proxy(function () {
                            var t;
                            if (this.needLoop) {
                                if (t = this.getIndexByPosition(), parseInt(t, 10) === parseInt(this.itemNum, 10)) return void this.setIndex(0, null, null, 0);
                                if (-1 === parseInt(t, 10)) return void this.setIndex(this.itemNum - 1, null, null, 0)
                            }
                            this.setIndex(this.getIndexByPosition(), !0), r()(this.itemLoad) && this.itemLoad()
                        }, this)), this.scroll.on("scrollCancel", $.proxy(function () {
                            this.setIndex(this.getIndexByPosition(), !1)
                        }, this)), $(window).off(".silder" + this.id), $(window).on("resize.silder" + this.id, $.proxy(function () {
                            this.resizeRefresh()
                        }, this))
                    }, e.prototype.resizeRefresh = function () {
                        this.initSize(), this._initScroll(), this.adjustPosition(), this.resetCss(), this.resetIndex()
                    }, e.prototype.adjustPosition = function (t, e) {
                        if (this.scroll) {
                            var i = parseInt(this.datamodel.index, 10), a = 0;
                            this.needLoop && (0 === i ? i = 1 : i += 1);
                            var o = this.itemWidth * i * -1 + this.scrollOffset;
                            t && (a = this.animatTime), c()(e) && (a = e), this.scroll.scrollTo(o, 0, a)
                        }
                    }, e.prototype.resetCss = function () {
                        this.$("li").removeClass("current"), this.$('li[data-index="' + this.datamodel.index + '"]').addClass("current")
                    }, e.prototype.resetIndex = function () {
                        this.setIndex(this.datamodel.index, !0, !0)
                    }, e.prototype.getIndexByPosition = function () {
                        var t = this.scroll.x - this.scrollOffset, e = Math.round(Math.abs(t) / this.itemWidth);
                        return this.needLoop && (e -= 1), e
                    }, e.prototype.getIndex = function () {
                        return this.datamodel.index
                    }, e.prototype.setIndex = function (t, e, i, a) {
                        void 0 === e && parseInt(t, 10) === parseInt(this.datamodel.index, 10) && (e = !0);
                        var o = parseInt(this.datamodel.index, 10) !== parseInt(t, 10);
                        this.datamodel.index = t, e || this.adjustPosition(!0, a), this.resetCss(), !0 !== i && o && (this.changedAction && this.changedAction.call(this, this.getSelected()), this.changed && this.changed.call(this, this.getSelected()))
                    }, e.prototype.setId = function (t) {
                        if (t) {
                            for (var e = -1, i = this.datamodel.data.length, a = 0; a < i; a++) if (parseInt(this.datamodel.data[a].id, 10) === parseInt(t, 10)) {
                                e = a;
                                break
                            }
                            -1 !== e && this.setIndex(e, !1)
                        }
                    }, e.prototype.getId = function () {
                        return this.getSelected().id
                    }, e.prototype.getSelected = function () {
                        return this.datamodel.data[this.datamodel.index]
                    }, e.prototype.addEvent = function () {
                        t.prototype.addEvent.call(this), this.on("onShow", function () {
                            this.initSize(), this._initScroll(), this.adjustPosition(), this.resetCss(), this.resetIndex()
                        }, 1), this.on("onHide", function () {
                            this.scroll && (this.scroll.destroy(), this.scroll = null, $(window).off(".silder" + this.id))
                        })
                    }, e
                }(d.a);
            e.a = m
        }, "8mgt": function (t, e, i) {
            var a = i("tv3T"), o = i("0DSl"), n = i("t8rQ"), s = o(function (t, e) {
                a(e, n(e), t)
            });
            t.exports = s
        }, "9UkZ": function (t, e, i) {
            function a(t) {
                if (!s(t) || o(t) != r) return !1;
                var e = n(t);
                if (null === e) return !0;
                var i = h.call(e, "constructor") && e.constructor;
                return "function" == typeof i && i instanceof i && d.call(i) == p
            }

            var o = i("aCM0"), n = i("vi0E"), s = i("UnEC"), r = "[object Object]", l = Function.prototype,
                c = Object.prototype, d = l.toString, h = c.hasOwnProperty, p = d.call(Object);
            t.exports = a
        }, "9lab": function (t, e) {
            function i(t) {
                return "\\" + a[t]
            }

            var a = {"\\": "\\", "'": "'", "\n": "n", "\r": "r", "\u2028": "u2028", "\u2029": "u2029"};
            t.exports = i
        }, "9uKM": function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length; ++i < a && !1 !== e(t[i], i, t);) ;
                return t
            }

            t.exports = i
        }, ArDj: function (t, e, i) {
            "use strict";

            function a(t) {
                return t < 10 ? "0" + t : t.toString()
            }

            var o = i("TToO"), n = i("LSBV"), s = i.n(n), r = i("JDN0"), l = i.n(r), c = i("gGqR"), d = i.n(c),
                h = i("0tEz"), p = i("/4es"), u = i.n(p), m = i("6rBr"), f = i("waeE"), _ = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return o.a(e, t), e.prototype.propertys = function () {
                        t.prototype.propertys.call(this), this.template = u.a, this.dateObj = new Date, this.solarHoliday = {
                            "0101": "\u5143\u65e6",
                            "0214": "\u60c5\u4eba\u8282",
                            "0501": "\u52b3\u52a8\u8282",
                            "0601": "\u513f\u7ae5\u8282",
                            "0910": "\u6559\u5e08\u8282",
                            1001: "\u56fd\u5e86",
                            1225: "\u5723\u8bde"
                        }, this.lunarHoliday = {
                            20180216: "\u6625\u8282",
                            20180302: "\u5143\u5bb5",
                            20180405: "\u6e05\u660e",
                            20180618: "\u7aef\u5348",
                            20180924: "\u4e2d\u79cb",
                            20190205: "\u6625\u8282",
                            20190219: "\u5143\u5bb5",
                            20190405: "\u6e05\u660e",
                            20190607: "\u7aef\u5348",
                            20190913: "\u4e2d\u79cb"
                        }, this.rest = {
                            20180215: "\u6625\u8282",
                            20180216: "\u6625\u8282",
                            20180217: "\u6625\u8282",
                            20180218: "\u6625\u8282",
                            20180219: "\u6625\u8282",
                            20180220: "\u6625\u8282",
                            20180221: "\u6625\u8282",
                            20180405: "\u6e05\u660e",
                            20180406: "\u6e05\u660e",
                            20180407: "\u6e05\u660e",
                            20180429: "\u52b3\u52a8\u8282",
                            20180430: "\u52b3\u52a8\u8282",
                            20180501: "\u52b3\u52a8\u8282",
                            20180616: "\u7aef\u5348",
                            20180617: "\u7aef\u5348",
                            20180618: "\u7aef\u5348",
                            20180922: "\u4e2d\u79cb",
                            20180923: "\u4e2d\u79cb",
                            20180924: "\u4e2d\u79cb",
                            20181001: "\u56fd\u5e86",
                            20181002: "\u56fd\u5e86",
                            20181003: "\u56fd\u5e86",
                            20181004: "\u56fd\u5e86",
                            20181005: "\u56fd\u5e86",
                            20181006: "\u56fd\u5e86",
                            20181007: "\u56fd\u5e86"
                        }, this.work = {
                            20180211: "\u9664\u5915\u73ed",
                            20180224: "\u6625\u8282\u73ed",
                            20180408: "\u6e05\u660e\u73ed",
                            20180428: "\u52b3\u52a8\u73ed",
                            20180929: "\u56fd\u5e86_\u73ed",
                            20180930: "\u56fd\u5e86_\u73ed"
                        }, this.footDate = {
                            "\u5143\u65e6": new Date(2017, 0, 1),
                            "\u9664\u5915": new Date(2017, 0, 27),
                            "\u6e05\u660e": new Date(2017, 3, 4),
                            "\u4e2d\u79cb": new Date(2017, 9, 4),
                            "\u56fd\u5e86": new Date(2017, 9, 1)
                        }, this.defineHoliday = "", this.jetLag = 0, this.specialDates = !1, this.curTimeBaseTimeZone = new Date(m.a.getServerDate()), this.validStartDate = new Date(m.a.getServerDate().getTime() + 0 * this.jetLag), this.validStartDate.setHours(0, 0, 0, 0), this.validEndDate = null, this.recentDaysHaveText = !0, this.dealDateItem = function (t, e, i, o, n) {
                            var s = {day: i}, r = [], l = a(e + 1) + a(i), c = t.toString() + a(e + 1) + a(i),
                                d = parseInt(-1 * n / 36e5 * 100, 10) / 100;
                            this.datamodel.show2Day, d >= 0 && d < 24 && (s.day1 = "\u4eca\u5929"), this.solarHoliday[l] && (s.solarHoliday = this.solarHoliday[l]), this.lunarHoliday[c] && (s.lunarHoliday = this.lunarHoliday[c]), this.specialDates;
                            var h = "";
                            return h = '<div class="cm-field-title">' + (s.day1 || s.day) + "</div>", (s.solarHoliday || s.lunarHoliday) && (h = '<div class="cm-field-title cm-field-title--festival">' + (s.lunarHoliday || s.solarHoliday) + "</div>"), this.datamodel.showRestIcon && (this.rest[c] && (h += '<i class="icon-calendar-holiday">\u4f11</i>'), this.work[c] && (h += '<i class="icon-calendar-work">\u73ed</i>')), r[0] = h, {
                                str: r.join(""),
                                dayObj: s
                            }
                        }, this.datamodel = {
                            scope: this,
                            startTime: null,
                            endTime: null,
                            weekDayArr: ["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d"],
                            displayMonthNum: 12,
                            tips: "",
                            selfTips: "",
                            footDate: "",
                            showNav: !1,
                            curTime: this.dateObj.getTime(),
                            defineLi: !1,
                            showRestIcon: !0,
                            show2Day: !1,
                            miniUI: {topBar: {html: "", visible: !1}, layer: {text: "", visible: !1}},
                            selectDate: null,
                            MonthClapFn: function (t, e) {
                                return e += 1, t + "\u5e74" + e + "\u6708"
                            },
                            dayWrapperItemFn: function (t, e, i, a, o, n) {
                                var s = this.dealDateItem(t, e, i, a, o);
                                return this.dayWrapperAction ? this.dayWrapperAction.call(this, s.dayObj, t, e, i, a, o, n) : s.str
                            },
                            dayItemFn: function (t, e, i, o) {
                                "number" != typeof t && (o = t), o.setHours(0, 0, 0, 0), t = o.getFullYear(), e = o.getMonth(), i = o.getDate();
                                var n = m.a.getServerDate(), s = new m.a(new Date(n.getTime() + 1e3 * this.jetLag)),
                                    r = m.a.getIntervalDay(s.format("Y-m-d"), new m.a(o).format("Y-m-d")),
                                    l = t.toString() + a(e + 1) + a(i), c = f.getDateInfo(o),
                                    d = {day: i, solarHoliday: c.holiday || "", lunarHoliday: c.chineseday || "", day1: ""},
                                    h = [], p = [], u = {innerHtml: "", parentDOMClass: "", dateInfo: d};
                                switch (r) {
                                    case 0:
                                        d.day1 = this.recentDaysHaveText ? "\u4eca\u5929" : ""
                                }
                                if (this.specialDates, h[0] = '<p class="calendar-day">' + d.day + "</p>", (d.solarHoliday || d.lunarHoliday) && (h[1] = '<p class="calendar-note">' + (d.lunarHoliday || d.solarHoliday) + "</p>", p.push("cui_cld_day_havetxt")), d.day1 && (h[1] = '<p class="calendar-note">' + d.day1 + "</p>", p.push("cui_cld_day_havetxt")), (d.lunarHoliday || d.solarHoliday) && p.push("calendar-holiday"), this.dayItemAction) {
                                    var _ = this.curTimeBaseTimeZone.getTime() + 1e3 * this.jetLag - o.getTime();
                                    u.innerHtml = this.dayItemAction.call(this, d, t, e, i, o, _)
                                } else u.innerHtml = h.join("");
                                return this.validStartDate && o.getTime() < this.validStartDate.getTime() && (p.push("calender-invalid"), p.push("calendar-daypast"), p.push("js_invalid")), this.validEndDate && o.getTime() > this.validEndDate.getTime() && (p.push("calender-invalid"), p.push("calendar-daypast"), p.push("js_invalid")), this.datamodel.selectDate && o.getTime() === this.datamodel.selectDate.getTime() && (p.push("calendar-current"), p.push("cui_cld_daycrt"), this.selectDateItemFn && (u.innerHtml = this.selectDateItemFn.call(this, d, o))), this.datamodel.showRestIcon && (this.rest[l] && (p.push("calendar-holiday"), u.innerHtml += '<i class="calendar-holiday-h">\u4f11</i>'), this.work[l] && (u.innerHtml += '<i class="calendar-holiday-h">\u73ed</i>')), u.parentDOMClass = p.join(" "), u
                            }
                        }, this.dayItemAction = null, this.dayWrapperAction = null, this.events = {
                            "click .js_calendar_item ": "itemAction",
                            "click .w_date_nav_click": "navClick",
                            scroll: function (t) {
                                t.stopPropagation()
                            },
                            touch: function (t) {
                                t.stopPropagation()
                            },
                            touchmove: function (t) {
                                t.stopPropagation()
                            }
                        }, this.onItemClick = function (t, e, i) {
                        }
                    }, e.prototype.resetPropery = function () {
                        var e = this;
                        t.prototype.resetPropery.call(this), this.datamodel.deffTimezone = 1e3 * this.jetLag, this.datamodel.curTime = this.dateObj.getTime() + this.datamodel.deffTimezone, this.datamodel.startTime || (this.datamodel.startTime = this.dateObj);
                        var i = new Date(this.datamodel.startTime.getTime() + this.datamodel.deffTimezone);
                        if (0 === parseInt(this.datamodel.deffTimezone, 10) && (i = new Date(i.getFullYear(), i.getMonth(), i.getDate())), this.datamodel.startTime = i, this.datamodel.year = i.getFullYear(), this.datamodel.month = i.getMonth(), this.datamodel.endDate = new Date(this.datamodel.year, this.datamodel.month + this.datamodel.displayMonthNum, 0), !this.datamodel.footNavDate) {
                            var a = {"\u4eca\u5929": (new Date).getFullYear() + "-" + (new Date).getMonth() + "-" + (new Date).getDate()};
                            Object.keys(this.footDate || {}).forEach(function (t) {
                                var i = e.footDate[t];
                                if (i.getTime() > (new Date).getTime()) {
                                    var o = i.getFullYear() + "-" + i.getMonth() + "-" + i.getDate();
                                    a[t] = o
                                }
                            }), this.datamodel.footNavDate = a
                        }
                        this.datamodel.defineHoliday && (this.defineHoliday = this.datamodel.defineHoliday), this.curTimeBaseTimeZone = new Date(m.a.getServerDate()), this.isValidJetLag(this.jetLag) || (this.jetLag = 0), s()(this.validStartDate) ? (this.validStartDate.setHours(0, 0, 0, 0), this.startTime = this.validStartDate) : (this.validStartDate = new Date(m.a.getServerDate().getTime() + 1e3 * this.jetLag), this.validStartDate.setHours(0, 0, 0, 0), this.startTime = this.validStartDate), s()(this.validEndDate) ? (this.validEndDate.setHours(0, 0, 0, 0), this.endTime = this.validEndDate) : this.validEndDate = null, s()(this.datamodel.selectDate) ? this.datamodel.selectDate.setHours(0, 0, 0, 0) : this.datamodel.selectDate = null, this.datamodel.year = this.validStartDate.getFullYear(), this.datamodel.month = this.validStartDate.getMonth(), this.datamodel.dateVSMS = this.validStartDate.getTime();
                        for (var o = new Date(new Date(m.a.getServerDate().getTime() + 1e3 * this.jetLag)), n = {"\u4eca\u5929": o.getFullYear() + "-" + o.getMonth() + "-" + o.getDate()}, r = new m.a(this.datamodel.startTime), l = new m.a(this.datamodel.endDate), c = r; c.getTime() <= l.getTime(); c = c.addDay(1)) {
                            var d = f.getDateInfo(c.date);
                            if (d.holiday || d.chineseday) {
                                var h = d.holiday || d.chineseday, p = c.date;
                                if (p.getTime() > (new Date).getTime() && !n[h]) {
                                    var u = p.getFullYear() + "-" + p.getMonth() + "-" + p.getDate();
                                    n[h] = u
                                }
                            }
                        }
                        this.datamodel.footNavDate = n
                    }, e.prototype.setJetLag = function (t) {
                        this.jetLag = parseInt(t, 10), this.refresh()
                    }, e.prototype.addDisplayMonth = function (t) {
                        this.datamodel.displayMonthNum = this.datamodel.displayMonthNum + t, this.refresh()
                    }, e.prototype.handleCnDay = function (t, e) {
                        var i = t, a = [];
                        s()(t) ? i = t.getFullYear() + "-" + t.getMonth() + "-" + t.getDate() : l()(t) && (a = t.split("-"), i = a[0] + "-" + (parseInt(a[1], 10) - 1) + "-" + a[2]), this.handleDay(i, e)
                    }, e.prototype.dateDiff = function (t, e) {
                        var i = 0, a = 0, o = 0;
                        return i = t.split("-"), i = e.split("-"), a = new Date(i[1] + "-" + i[2] + "-" + i[0]), o = new Date(i[1] + "-" + i[2] + "-" + i[0]), parseInt(Math.abs(a - o) / 1e3 / 60 / 60 / 24, 10)
                    }, e.prototype.handleDay = function (t, e) {
                        var i = t;
                        s()(t) && (i = t.getFullYear() + "-" + t.getMonth() + "-" + t.getDate());
                        var a = this.$('li[data-date="' + i + '"]');
                        a[0] && d()(e) && e.call(this, a)
                    }, e.prototype.openRestWork = function (t, e) {
                        for (var i = t || this.work, a = e || this.rest, o = $(".cm-day-list li"), n = 0; n < o.length; n++) {
                            var s = $(o[n]), r = s.attr("data-cndate") || "";
                            if (r) {
                                var l = r.split("-"), c = l[0], d = l[1] >= 10 ? l[1] : "0" + l[1],
                                    h = l[2] >= 10 ? l[2] : "0" + l[2], p = c + d + h;
                                i[p] && s.append('<i class="icon-calendar-work">\u73ed</i>'), a[p] && s.append('<i class="icon-calendar-holiday">\u4f11</i>')
                            }
                        }
                    }, e.prototype.itemAction = function (t) {
                        var e = $(t.currentTarget);
                        if (!e.hasClass("js_invalid")) {
                            var i = e.attr("data-date");
                            i && (i = i.split("-"), 3 === i.length && (i = new Date(i[0], i[1], i[2]), this.onItemClick && this.onItemClick.call(this, i, e, t)))
                        }
                    }, e.prototype.navClick = function (t) {
                        var e = this, i = $(t.currentTarget), a = e.$el.find(".cm-calendar-quick-nav .active"),
                            o = e.$el.find(".cm-day-list .js_calendar_item .lh_canlendar_color_hightlight");
                        a.removeClass("active"), o.removeClass("lh_canlendar_color_hightlight"), i.addClass("active"), i.css("transform", "scale(0.8, 0.8)"), i.animate({transform: "scale(1, 1)"}, 300);
                        var n = i.attr("data-date"), s = null;
                        s = e.$el.find('.js_calendar_item[data-date="' + n + '"]');
                        var r = 0;
                        if (s.length > 0) var l = setInterval(function () {
                            if (r > 150) {
                                clearInterval(l);
                                var t = e.$el.find('.js_calendar_item[data-date="' + n + '"]');
                                t.addClass("cm-field-title--active"), setTimeout(function () {
                                    t.removeClass("cm-field-title--active")
                                }, 2e3)
                            }
                            window.scrollTo(0, parseInt(s.offset().top, 10) - r), r += 50
                        }, 60)
                    }, e.prototype.initElement = function () {
                        var t = $("#js_style_root");
                        this.weekDay = this.$(".js_weekend"), this.calendarStyle = this.$(".js_ui_calendar_v1"), t[0] || (t = $('<div id="js_style_root"></div>'), t.insertBefore($("#main"))), t.find(".js_ui_calendar_v1")[0] || t.append(this.calendarStyle)
                    }, e.prototype.initialize = function (e) {
                        e.datamodel.displayMonthNum > 23 && (e.datamodel.displayMonthNum = 23), t.prototype.initialize.call(this, e), "none" === $("#headerview").css("display") && this.$(".js_weekend").css("top", 0)
                    }, e.prototype.isValidJetLag = function (t) {
                        var e = !1;
                        if (null === t || void 0 === t || isNaN(parseInt(t, 10))) return !1;
                        t = parseInt(t / 3600, 10);
                        return t >= -20 && t <= 6 && (e = !0), e
                    }, e.prototype.getDateInfo = function (t) {
                        return f.getDateInfo(t)
                    }, e
                }(h.a);
            e.a = _
        }, BPYd: function (t, e) {
        }, BUAs: function (t, e, i) {
            var a = i("i4ON"), o = i("tv3T"), n = i("0DSl"), s = i("bGc4"), r = i("HT7L"), l = i("ktak"),
                c = Object.prototype, d = c.hasOwnProperty, h = n(function (t, e) {
                    if (r(e) || s(e)) return void o(e, l(e), t);
                    for (var i in e) d.call(e, i) && a(t, i, e[i])
                });
            t.exports = h
        }, CHen: function (t, e, i) {
            function a(t, e, i) {
                for (var a = -1, r = e.length, l = {}; ++a < r;) {
                    var c = e[a], d = o(t, c);
                    i(d, c) && n(l, s(c, t), d)
                }
                return l
            }

            var o = i("uCi2"), n = i("HAGj"), s = i("bIjD");
            t.exports = a
        }, CJ1A: function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = new a.b({key: "U_BURY_BURN_AFTER_READING", lifeTime: "30D", isUserData: !0}),
                n = function () {
                    function t() {
                    }

                    return t.prototype.setOneMessage = function (t, e) {
                        o.setAttr(t, e)
                    }, t.prototype.getOneMessage = function (t) {
                        var e = o.getAttr(t);
                        return e && o.setAttr(t, ""), e
                    }, t
                }();
            e.a = n
        }, DvOG: function (t, e, i) {
            "use strict";

            function a(t) {
                if (t.wechat) return "wechat";
                var e = t.comefrom, i = t.fr, a = t.pricetype, o = t.isoversea;
                return "hourroomlist" === i ? "hourroom" : "h5_kezhan" === i ? "inn" : "1" === e ? "newcustomer" : "2" === e ? "discountcoupon" : "4" === a ? "sale" : o ? "oversea" : "inland"
            }

            function o(t) {
                return {
                    hourroom: "H5HotelHourRoom",
                    inn: "H5hin",
                    newcustomer: "SPNC, ChannelA",
                    discountcoupon: "SPUC, ChannelA",
                    sale: "H5HotelSales",
                    oversea: "H5overseas",
                    inland: "H5Domestic",
                    wechat: "wechat"
                }[a(t)]
            }

            function n(t) {
                return o({
                    comefrom: t.comefrom,
                    fr: (t.fr || "").toLowerCase(),
                    pricetype: t.pricetype,
                    isoversea: t.isoversea,
                    wechat: "wechat" === t.subchannel
                })
            }

            e.a = n
        }, DxBg: function (t, e) {
            function i(t) {
                return t && t.length ? t[0] : void 0
            }

            t.exports = i
        }, Fkvj: function (t, e, i) {
            function a(t, e, i, I, C, j) {
                var S, R = e & E, L = e & k, B = e & T;
                if (i && (S = C ? i(t, I, C, j) : i(t)), void 0 !== S) return S;
                if (!D(t)) return t;
                var H = y(t);
                if (H) {
                    if (S = _(t), !R) return d(t, S)
                } else {
                    var U = f(t), $ = U == P || U == x;
                    if (b(t)) return c(t, R);
                    if (U == M || U == O || $ && !C) {
                        if (S = L || $ ? {} : v(t), !R) return L ? p(t, l(S, t)) : h(t, r(S, t))
                    } else {
                        if (!A[U]) return C ? t : {};
                        S = g(t, U, a, R)
                    }
                }
                j || (j = new o);
                var N = j.get(t);
                if (N) return N;
                j.set(t, S);
                var W = B ? L ? m : u : L ? keysIn : w, z = H ? void 0 : W(t);
                return n(z || t, function (o, n) {
                    z && (n = o, o = t[n]), s(S, n, a(o, e, i, n, t, j))
                }), S
            }

            var o = i("bJWQ"), n = i("PqYH"), s = i("i4ON"), r = i("jD7S"), l = i("py9u"), c = i("mKB/"), d = i("hrPF"),
                h = i("Nkkh"), p = i("1QDk"), u = i("MoMe"), m = i("xond"), f = i("gHOb"), _ = i("UfSK"), g = i("5/Qr"),
                v = i("WQFf"), y = i("NGEn"), b = i("ggOT"), D = i("yCNF"), w = i("ktak"), E = 1, k = 2, T = 4,
                O = "[object Arguments]", P = "[object Function]", x = "[object GeneratorFunction]",
                M = "[object Object]", A = {};
            A[O] = A["[object Array]"] = A["[object ArrayBuffer]"] = A["[object DataView]"] = A["[object Boolean]"] = A["[object Date]"] = A["[object Float32Array]"] = A["[object Float64Array]"] = A["[object Int8Array]"] = A["[object Int16Array]"] = A["[object Int32Array]"] = A["[object Map]"] = A["[object Number]"] = A[M] = A["[object RegExp]"] = A["[object Set]"] = A["[object String]"] = A["[object Symbol]"] = A["[object Uint8Array]"] = A["[object Uint8ClampedArray]"] = A["[object Uint16Array]"] = A["[object Uint32Array]"] = !0, A["[object Error]"] = A[P] = A["[object WeakMap]"] = !1, t.exports = a
        }, Fo7j: function (t, e, i) {
            "use strict";

            function a() {
                var t = this;
                new Promise(function (t) {
                    t()
                }).then(i.bind(null, "waeE")).then(function (e) {
                    var i = new Date(t.pageData.inday);
                    i.setHours(0), i.setMinutes(0), i.setSeconds(0);
                    var a = new Date(t.pageData.outday);
                    a.setHours(0), a.setMinutes(0), a.setSeconds(0);
                    var o = new Date(t.appData.serverdate.substr(0, 10)), n = (i - o) / 24 / 36e5,
                        s = (a - o) / 24 / 36e5, r = t.pageData.days, l = "\u5165\u4f4f", c = "\u79bb\u5e97";
                    l = 0 === n ? "\u4eca\u5929&nbsp;" + l : "\u5468" + e.calendar.CONSTANT.CALENDAR_CHINESE_NUMBER[i.getDay()] + "&nbsp;" + l, c = 0 === s ? "\u4eca\u5929&nbsp;" + c : "\u5468" + e.calendar.CONSTANT.CALENDAR_CHINESE_NUMBER[a.getDay()] + "&nbsp;" + c, t.$(".js_check_in").html("<time>" + (i.getMonth() + 1) + "\u6708" + i.getDate() + "\u65e5</time>" + l), t.$(".js_check_out").html("<time>" + (a.getMonth() + 1) + "\u6708" + a.getDate() + "\u65e5</time>" + c), t.$(".js_check_out").next().text("\u5171" + (r || 1) + "\u665a")
                })
            }

            e.a = a;
            var o = (i("6rBr"), i("QVf9"), i("+b/N"));
            new o.b({
                key: "S_HOTEL_QUERY",
                lifeTime: "2D",
                isUserData: !0,
                defaultData: {}
            }), new o.b({
                key: "P_HOTEL_QUERYSTORE",
                lifeTime: "2D",
                isUserData: !0,
                defaultData: {}
            }), new o.b({key: "P_HOTEL_BURN_AFTER_READING", lifeTime: "1D", isUserData: !0, defaultData: {}})
        }, Fp5l: function (t, e, i) {
            function a(t) {
                return n(t) && o(t)
            }

            var o = i("bGc4"), n = i("UnEC");
            t.exports = a
        }, GCmm: function (t, e) {
            t.exports = '<div> <%=slider%> <%=comment%> <div class="l-base c-box l-tb-border mb5"> <%=basicinfo%> <%=facility%> </div> </div> '
        }, GDZS: function (t, e, i) {
            function a(t) {
                return o(t) && t != +t
            }

            var o = i("J009");
            t.exports = a
        }, GOFJ: function (t, e, i) {
            function a(t) {
                return n(t) ? s(t) : o(t)
            }

            var o = i("OdGI"), n = i("iYj9"), s = i("Z8WZ");
            t.exports = a
        }, GfT2: function (t, e) {
            t.exports = ' <div> <%=slider%> <div class="l-base c-box l-tb-border mb5"> <%=basicinfo%> <%=facility%> </div> <%=paydesc%> <%=tags%> <%=notice%> <%=tax%> </div> '
        }, HT7L: function (t, e) {
            function i() {
                return !1
            }

            t.exports = i
        }, Hxdr: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length, o = Array(a); ++i < a;) o[i] = e(t[i], i, t);
                return o
            }

            t.exports = i
        }, IGcM: function (t, e, i) {
            function a(t, e, i) {
                e = o(e, t);
                for (var a = -1, d = e.length, h = !1; ++a < d;) {
                    var p = c(e[a]);
                    if (!(h = null != t && i(t, p))) break;
                    t = t[p]
                }
                return h || ++a != d ? h : !!(d = null == t ? 0 : t.length) && l(d) && r(p, d) && (s(t) || n(t))
            }

            var o = i("bIjD"), n = i("1Yb9"), s = i("NGEn"), r = i("ZGh9"), l = i("Rh28"), c = i("Ubhr");
            t.exports = a
        }, IJ3o: function (t, e, i) {
            "use strict";
            Object.defineProperty(e, "__esModule", {value: !0});
            var a = i("kbi+"), o = i.n(a), n = i("hIkJ"), s = i.n(n), r = i("gszD"), l = i.n(r), c = i("y9NZ"),
                d = i.n(c), h = i("VQV5"), p = i.n(h), u = i("kXZP"), m = i.n(u), f = i("J009"), _ = i.n(f),
                g = function () {
                    var t = {}, e = window, i = {
                        EXCEPTION: new Error("HYBRID-SHEL-2014"),
                        SN: {
                            DEFAULT: 0,
                            UPON: "UPON.2014",
                            PRE: "PRE.2014",
                            POST: "POST.2014",
                            PX: "PX.2014",
                            gen: function () {
                                var t = 1;
                                return function () {
                                    return t += 1, (new Date).getTime() + "." + t
                                }
                            }()
                        },
                        abort: function (t) {
                            if (t) {
                                if (t === i.EXCEPTION) return !0;
                                throw t
                            }
                            throw i.EXCEPTION
                        },
                        apiFn: function (e) {
                            var a = function () {
                            }, n = t.fninfo(e);
                            return n.klass && (a = function () {
                                var t = arguments, a = !1;
                                (a = o()(i.fn("find", e, i.SN.PRE), function (e) {
                                    try {
                                        t = e.apply(void 0, t)
                                    } catch (t) {
                                        return i.abort(t)
                                    }
                                })) || n.klass[n.realname].apply(n.klass, t)
                            }), a
                        },
                        fn: function () {
                            var t = {};
                            return function (a, o, n, r) {
                                !r && n instanceof Function && (r = n, n = void 0), n || (n = i.SN.DEFAULT);
                                var c = i.ifHasnot(t, o, {});
                                c = i.ifHasnot(c, n, {fns: [], times: []});
                                var h = s()(c.fns, r), u = h < 0 ? 0 : c.times[h];
                                switch (a) {
                                    case"on":
                                    case"once":
                                        return void(r && (u = "once" === a ? 1 : e.Infinity, h < 0 && (h = c.fns.length), c.times[h] = u, c.fns[h] = r));
                                    case"find":
                                        return c.fns;
                                    case"try":
                                        return u--, c.times[h] = u, void(0 === u && (arguments[0] = "off", i.fn.apply(i, arguments)));
                                    case"off":
                                        if (r) {
                                            var m = function (t, e) {
                                                return l()(d()(t, e), p()(t, t.length - e - 1))
                                            };
                                            c.fns = m(c.fns, h), c.times = m(c.times, h)
                                        } else c.fns = [], c.times = [];
                                        return
                                }
                            }
                        }(),
                        ifHasnot: function (t, e, i) {
                            return {}.hasOwnProperty.call(t, e) || (t[e] = i), t[e]
                        }
                    };
                    t.CLASSES = [], Object.keys(e || {}).forEach(function (i) {
                        "Ctrip" === i.substr(0, 5) && t.CLASSES.push(e[i])
                    }), t.FNINFO = {
                        abort_http_pipe_request: {realname: "app_abort_HTTP_pipe_request"},
                        do_business_job: {sidIndex: 3},
                        sotp_send_http_requst: {sidIndex: 4},
                        send_h5_pipe_request: {realname: "app_send_H5_pipe_request"},
                        send_http_pipe_request: {realname: "app_send_HTTP_pipe_request"}
                    }, t.fninfo = function (e) {
                        var a = i.ifHasnot(t.FNINFO, e, {});
                        return a._READY || (i.ifHasnot(a, "realname", "app_" + e), {}.hasOwnProperty.call(a, "klass") || (a.klass = o()(t.CLASSES, function (t) {
                            return !!t[a.realname]
                        })), a._READY = !0), a
                    };
                    var a = {
                        abort: i.abort, fn: function (t, e, a) {
                            this.on(t, e, a);
                            var o = i.apiFn(t);
                            return o.run = o, o
                        }, init: m()(function () {
                            e.app || (e.app = {}), e.app.callback = function (a) {
                                var n, s;
                                if ("string" == typeof a) try {
                                    a = JSON.parse(decodeURIComponent(a))
                                } catch (t) {
                                    return
                                }
                                var r = a.tagname;
                                if ("string" == typeof(n = t.fninfo(r).paramsMixed ? a : a.param)) try {
                                    n = JSON.parse(n)
                                } catch (t) {
                                }
                                a.error_code && (/^(\((-?\d+)\))?(.+)$/.exec(a.error_code), s = new Error, s.number = parseInt(RegExp.$2, 10), s.message = RegExp.$3);
                                var l, c = n ? n.sequenceId : void 0, d = i.fn("find", r, i.SN.UPON),
                                    h = i.fn("find", r, i.SN.POST), p = i.fn("find", r, c), u = !1;
                                if (e.Lizard && "2.0" === e.Lizard.version && (l = e.Lizard.facadeMethods, l && (l = l[r]), "function" == typeof l ? p = p.concat(l) : l = void 0), d.length + p.length) {
                                    o()(h, function (t) {
                                        try {
                                            n = t(n, s)
                                        } catch (t) {
                                            return i.abort(t)
                                        }
                                    });
                                    var m = function (t, e) {
                                        i.fn("try", r, t, e), u = !1 === e(n, s)
                                    };
                                    return u || o()(d, function (t) {
                                        return m(i.SN.UPON, t)
                                    }), u || o()(p, function (t) {
                                        return m(c, t)
                                    }), !l || d.length + p.length !== 1 || void 0
                                }
                            }
                        }), on: function (t, e, a) {
                            return i.fn("on", t, e, a), this
                        }, once: function (t, e, a) {
                            return i.fn("once", t, e, a), this
                        }, preTreat: function (t, e) {
                            return i.fn("on", t, i.SN.PRE, e), this
                        }, postTreat: function (t, e) {
                            return i.fn("on", t, i.SN.POST, e), this
                        }, off: function (t, e, a) {
                            return i.fn("off", t, e, a), this
                        }, upon: function (t, e) {
                            return i.fn("on", t, i.SN.UPON, e), this
                        }, Fn: function (e, o) {
                            var n = this;
                            if (this === a) return new this.Fn(e, o);
                            var s, r = e, l = t.fninfo(r).sidIndex;
                            _()(l) ? s = i.SN.gen() : a.off(e), a.once(e, s, o), ["on", "once", "off"].forEach(function (t) {
                                n[t] = function (e) {
                                    return a[t](r, s, e), this
                                }
                            }, this), this.run = function () {
                                var t = arguments;
                                if (_()(l)) {
                                    t = [];
                                    for (var e = 0, a = Math.max(l + 1, arguments.length); e < a; e++) e === parseInt(l, 10) && t.push(s), t.push(arguments[e])
                                }
                                return i.apiFn(r).apply(void 0, t), this
                            }
                        }
                    };
                    return a
                }();
            g.init(), e.default = g
        }, "IK+G": function (t, e) {
            t.exports = '<div class="dl-check-room dl-cell js_roomdesc_bar"> <%if(roomstatus){%> <div class="js_roomdesc_bottom check-room-txt"> <div class="js_roomstatus_bottom">&nbsp;<%= roomstatus %></div> </div> <%}%> <div class="check-room-btn js_goto_toproom"> <img src="" class="dl-icon-bed" width="24" alt="">\u67e5\u770b\u623f\u578b </div> </div> '
        }, ITSX: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = i("6rBr"), s = i("waeE"), r = i("+b/N"), l = i("MvGl"), c = i("V5ch"),
                d = new r.b({key: "S_HOTEL_QUERY", lifeTime: "2D", isUserData: !0, defaultData: {}}),
                h = new r.b({key: "P_HOTEL_QUERYSTORE", lifeTime: "2D", isUserData: !0, defaultData: {}}),
                p = new r.b({key: "P_HOTEL_BURN_AFTER_READING", lifeTime: "1D", isUserData: !0, defaultData: {}}),
                u = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.resetPropery = function () {
                        t.prototype.resetPropery.call(this), this.destroyNode = !1
                    }, e.prototype.initElement = function () {
                        t.prototype.initElement.call(this);
                        var e = new Date(this.pageData.inday), i = new Date(this.pageData.outday),
                            a = n.a.getServerDate(), o = Object(s.getDateMoreInfo)(e, a),
                            r = Object(s.getDateMoreInfo)(i, a);
                        this.updateDom({
                            checkinDate: e,
                            checkoutDate: i,
                            checkinRecent: this.convertToRecent(e, this.pageData.utcoffset) || o.week2,
                            checkinFestval: o.festival || o.cfestival,
                            checkinWeekday: o.week2,
                            checkoutRecent: this.convertToRecent(i, this.pageData.utcoffset) || r.week2,
                            checkoutFestval: r.festival || r.cfestival,
                            checkoutWeekday: r.week2,
                            isMorning: this.pageData.isMorning,
                            showMorningSwitch: a.getHours() < 6 && new n.a(a).format("Y/m/d") === new n.a(e).format("Y/m/d")
                        })
                    }, e.prototype.convertToRecent = function (t, e) {
                        var i = new Date(n.a.getServerDate().getTime() + 1e3 * e);
                        i.setHours(0, 0, 0, 0), t = new Date(t.valueOf()), t.setHours(0, 0, 0, 0);
                        var a = "", o = t - i;
                        return o >= 0 && (o < 864e5 ? a = "\u4eca\u5929" : o < 1728e5 ? a = "\u660e\u5929" : o < 2592e5 && (a = "\u540e\u5929")), a
                    }, e.prototype.addEvent = function () {
                        t.prototype.addEvent.call(this), this.events = {"click .js_in_out_day_filter": this.showCalendar}
                    }, e.prototype.showCalendar = function () {
                        this.calendar || (this.calendar = new l.default, this.calendar.on("onItemClick", this.onSubmitInOutDay.bind(this))), this.trigger("onOpeningCalendar"), this.calendar.open(this.pageData.utcoffset || 0, this.pageData.isoversea, this.pageData.inday, this.pageData.outday, this.pageData.isMorning)
                    }, e.prototype.onSubmitInOutDay = function (t) {
                        this.updateDom(t);
                        var e = n.a.format(t.checkinDate, "Y/m/d"), i = n.a.format(t.checkoutDate, "Y/m/d"),
                            a = parseInt(this.pageData.contrl, 10),
                            o = Math.round((t.checkoutDate.getTime() - t.checkinDate.getTime()) / 24 / 36e5);
                        o = t.isMorning ? o + 1 > 0 ? o + 1 : 1 : o > 0 ? o : 1;
                        var s = Math.round((t.checkoutDate.getTime() - (new Date).getTime()) / 24 / 36e5);
                        this.pageData.inday = e, this.pageData.outday = i, this.pageData.isMorning = t.isMorning, this.pageData.atime = n.a.format(t.checkinDate, "Ymd"), this.pageData.days = o, this.pageData.daylater = s, this.pageData.contrl = this.pageData.isMorning ? 4 | a : -5 & a, this.morningStore.setStatus(t.isMorning), this.syncDate(e, i, o, t.isMorning), this.trigger("onSubmitInOutDay", {
                            checkinDate: t.checkinDate,
                            checkoutDate: t.checkoutDate,
                            days: o
                        })
                    }, e.prototype.updateDom = function (t) {
                        var e = Math.round((t.checkoutDate.getTime() - t.checkinDate.getTime()) / 24 / 36e5);
                        t.isMorning && (e += 1);
                        var i = new n.a(t.checkinDate).format("m\u6708d\u65e5");
                        this.$(".js_indate").html("<b>" + i + "</b> <em class='day'>" + (t.checkinRecent || t.checkinFestval || t.checkinWeekday) + "</em>");
                        var a = new n.a(t.checkoutDate).format("m\u6708d\u65e5");
                        this.$(".js_outdate").html("<b>" + a + "</b> <em class='day'>" + (t.checkoutRecent || t.checkoutFestval || t.checkoutWeekday) + "</em>"), this.$(".js_intext").html(t.isMorning ? "\u51cc\u6668\u5165\u4f4f" : "\u5165\u4f4f"), this.$(".js_outtext").html(t.isMorning ? "\u4e2d\u5348\u79bb\u5e97" : "\u79bb\u5e97"), this.$(".js_days").html(e + "\u665a"), t.showMorningSwitch ? this.$(".js_morning").show() : this.$(".js_morning").hide(), this.$(".js_morningtext").text(t.isMorning ? "\u4eca\u66686\u70b9\u524d" : "\u4eca\u66686\u70b9\u540e"), this.$(".js_intext_landing").html('<p class="dl-color8">' + (t.isMorning ? "\u51cc\u6668\u5165\u4f4f" : "\u5165\u4f4f") + '</p><p class="dl-fn16"><b>' + i + "</b><em>" + (t.checkinRecent || t.checkinFestval || t.checkinWeekday) + "</em></p>"), this.$(".js_outtext_landing").html('<p class="dl-color8">' + (t.isMorning ? "\u4e2d\u5348\u79bb\u5e97" : "\u79bb\u5e97") + '</p><p class="dl-fn16"><b>' + a + "</b><em>" + (t.checkoutRecent || t.checkoutFestval || t.checkoutWeekday) + "</em></p>")
                    }, e.prototype.syncDate = function (t, e, i, a) {
                        this.searchStatusProvider || (this.searchStatusProvider = new c.a), this.searchStatusProvider.setInoutDay(n.a.parse(t).format("Ymd"), n.a.parse(e).format("Ymd"), a);
                        var o = d.getAttr("queryParams") || {};
                        o.inDay = t.replace(/\//g, "-"), o.outDay = e.replace(/\//g, "-"), o.days = i, d.setAttr("queryParams", o);
                        var s = h.getAttr("detailHtml") || {};
                        s.setInfo || (s.setInfo = {}), s.setInfo.inDay = o.inDay, s.setInfo.outDay = o.outDay, h.setAttr("detailHtml", s), p.setAttr("list", "updateTime")
                    }, e
                }(o.a);
            e.a = u
        }, IVDy: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = i("vNaF"), s = i.n(n), r = i("/UG1"), l = i("acXV"),
                c = (i.n(l), function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.propertys = function (e) {
                        t.prototype.propertys.call(this), this.needRootWrapper = !0, this.template = s.a
                    }, e.prototype.addEvent = function () {
                        t.prototype.addEvent.call(this), this.addEvents({
                            "click .js_login_guide_close": this.handeLoginClose.bind(this),
                            "click .js_login_guide_pop": this.handleLoginGuide.bind(this)
                        })
                    }, e.prototype.handleLoginGuide = function () {
                        var t = this;
                        this.loginLayer || (this.loginLayer = new r.a({
                            onLoginSuccess: function () {
                                t.hide(), t.trigger("onLoginSuccess")
                            }
                        })), this.loginLayer.show()
                    }, e.prototype.handeLoginClose = function () {
                        this.hide(), this.trigger("CloseByUser")
                    }, e
                }(o.a));
            e.a = c
        }, J009: function (t, e, i) {
            function a(t) {
                return "number" == typeof t || n(t) && o(t) == s
            }

            var o = i("aCM0"), n = i("UnEC"), s = "[object Number]";
            t.exports = a
        }, JBvZ: function (t, e, i) {
            function a(t) {
                var e = this.__data__, i = o(e, t);
                return i < 0 ? void 0 : e[i][1]
            }

            var o = i("imBK");
            t.exports = a
        }, JDN0: function (t, e, i) {
            function a(t) {
                return "string" == typeof t || !n(t) && s(t) && o(t) == r
            }

            var o = i("aCM0"), n = i("NGEn"), s = i("UnEC"), r = "[object String]";
            t.exports = a
        }, JUs9: function (t, e, i) {
            function a(t, e) {
                return !!(null == t ? 0 : t.length) && o(t, e, 0) > -1
            }

            var o = i("G8ar");
            t.exports = a
        }, JyYQ: function (t, e) {
            function i(t) {
                return t
            }

            t.exports = i
        }, K87Q: function (t, e, i) {
            "use strict";

            function a(t, e) {
                return t.className.match(new RegExp("(\\s|^)" + e + "(\\s|$)"))
            }

            function o(t, e) {
                if (this._events = this._events || {}, this._events[t]) for (var i = this._events[t], o = e.target; ;) {
                    if (0 === i.length) return;
                    if (o === this.dom || !o) {
                        for (var s = 0, r = i.length; s < r; s++) {
                            var l = i[s].className, c = i[s].fn;
                            l || n(t, c, o, e)
                        }
                        return
                    }
                    var d = i;
                    i = [];
                    for (var s = 0, r = d.length; s < r; s++) {
                        var l = d[s].className, c = d[s].fn;
                        if (a(o, l)) {
                            if (!1 === n(t, c, o, e)) return
                        } else i.push(d[s])
                    }
                    o = o.parentNode
                }
            }

            function n(t, e, i, a) {
                var o = a.plugTouches || a.touches, n = o.length ? o[0] : {}, s = {
                    type: t,
                    target: a.target,
                    pageX: n.pageX,
                    pageY: n.pageY,
                    clientX: n.clientX || 0,
                    clientY: n.clientY || 0
                };
                t.match(/^swipe/) && a.plugStartPosition && (s.startX = a.plugStartPosition.pageX, s.startY = a.plugStartPosition.pageY, s.moveX = s.pageX - s.startX, s.moveY = s.pageY - s.startY);
                var r = e.call(i, s, a);
                return !1 === r && (a.preventDefault(), a.stopPropagation()), r
            }

            function s(t, e, i, a) {
                var o = t - e, n = i - a;
                return Math.abs(o) >= Math.abs(n) ? o > 0 ? "Left" : "Right" : n > 0 ? "Up" : "Down"
            }

            function r(t) {
                function e(t) {
                    _ = !1, clearTimeout(u), clearTimeout(p)
                }

                function i() {
                    e(), o.call(m, "singleTap", g)
                }

                function a(t) {
                    g = t, l = t.touches[0].pageX, c = t.touches[0].pageY, d = 0, h = 0, _ = !0, o.call(m, "swipeStart", t), clearTimeout(u), u = setTimeout(function () {
                        e(t), o.call(m, "longTap", t)
                    }, 500)
                }

                function n(t) {
                    if (t.plugStartPosition = g.plugStartPosition, t.plugTouches = g.touches, o.call(m, "swipeEnd", t), _) {
                        var a = new Date;
                        m._events.doubleTap && 0 !== m._events.doubleTap.length ? a - f > 200 ? p = setTimeout(i, 190) : (clearTimeout(p), e(t), o.call(m, "doubleTap", g)) : i(), f = a
                    }
                }

                function r(t) {
                    if (g = t, t.plugStartPosition = {pageX: l, pageY: c}, o.call(m, "swipe", t), _) {
                        if (d = t.touches[0].pageX, h = t.touches[0].pageY, Math.abs(l - d) > 2 || Math.abs(c - h) > 2) {
                            var a = s(l, d, c, h);
                            o.call(m, "swipe" + a, t)
                        } else i();
                        e(t)
                    }
                }

                var l, c, d, h, p, u, m = this, f = 0, _ = !1, g = null;
                t.addEventListener("touchstart", a), t.addEventListener("touchend", n), t.addEventListener("touchmove", r), t.addEventListener("touchcancel", e)
            }

            function l(t) {
                this.dom = t, this._events = {}, r.call(this, this.dom)
            }

            function c(t) {
                return new l(t)
            }

            e.a = c, l.prototype.on = function (t, e, i) {
                var a, o;
                if ("string" == typeof e ? (a = e.replace(/^\./, ""), o = i) : (a = null, o = e), "function" == typeof o && t && t.length) for (var n = t.split(/\s+/), s = 0, r = n.length; s < r; s++) {
                    var l = n[s];
                    this._events[l] || (this._events[l] = []), this._events[l].push({className: a, fn: o})
                }
                return this
            }
        }, KBYM: function (t, e, i) {
            var a = i("1C79"), o = i("6kJs"), n = i("YkxI"), s = i("zBOP"), r = n(function (t, e) {
                if (null == t) return [];
                var i = e.length;
                return i > 1 && s(t, e[0], e[1]) ? e = [] : i > 2 && s(e[0], e[1], e[2]) && (e = [e[0]]), o(t, a(e, 1), [])
            });
            t.exports = r
        }, KH9P: function (t, e) {
            t.exports = ' <div class="age-filter"> <dl> <dt>\u513f\u7ae5\u5e74\u9f84</dt> <% for (var i = 0; i < agesVm.length; i++) { %> <dd class="<%=agesVm[i].age === selectedAge ? \'current \':\'\'%>js_age_item" data-idx="<%=i%>"><%=agesVm[i].txt%></dd> <% } %> </dl> </div> '
        }, KK3K: function (t, e, i) {
            "use strict";
            var a = i("O8hG"), o = i("tlCT"), n = function () {
                function t() {
                }

                return t.show = function (t) {
                    var e = t;
                    if (!e) return null;
                    var i = Object(o.e)(e), n = new a.a({
                        needAnimat: !1,
                        scrollOpts: {scrollbars: !0, bounce: !0},
                        datamodel: {title: i.title, body: i.body, viewModel: e},
                        onShow: function () {
                            this._initWrapperSize()
                        }
                    });
                    return n.show(), $(".js_meetingRoomDetail").hide(), n
                }, t
            }();
            e.a = n
        }, KgVm: function (t, e, i) {
            function a(t, e, i) {
                var a = null == t ? 0 : t.length;
                if (!a) return -1;
                var l = null == i ? 0 : s(i);
                return l < 0 && (l = r(a + l, 0)), o(t, n(e, 3), l)
            }

            var o = i("cdq7"), n = i("JyYQ"), s = i("5Zxu"), r = Math.max;
            t.exports = a
        }, Kl7s: function (t, e) {
            function i(t) {
                return function (e) {
                    return null == t ? void 0 : t[e]
                }
            }

            t.exports = i
        }, KoQ7: function (t, e, i) {
            "use strict";

            function a(t, e, i) {
                if (t && t.length && e && e.length) {
                    var a = encodeURIComponent(e), o = i || 3600, n = new Date;
                    n.setDate(n.getDate() + o), document.cookie = t + "=" + a + ";expires=" + n.toGMTString() + ";path=/webapp/hotel;"
                }
            }

            function o(t) {
                if (document.cookie && document.cookie.length) {
                    var e = document.cookie.indexOf(t + "=");
                    if (e >= 0) {
                        var i = e + t.length + 1, a = document.cookie.indexOf(";", i);
                        return a < 0 ? decodeURIComponent(document.cookie.substring(i)) : decodeURIComponent(document.cookie.substring(i, a))
                    }
                }
                return ""
            }

            function n(t) {
                t && t.length && (document.cookie = t + "=;path=/webapp/hotel;")
            }

            var s = {set: a, get: o, remove: n};
            e.a = s
        }, Lr25: function (t, e, i) {
            t.exports = i("8mgt")
        }, M1c9: function (t, e) {
            function i(t, e, i) {
                var a = -1, o = t.length;
                e < 0 && (e = -e > o ? 0 : o + e), i = i > o ? o : i, i < 0 && (i += o), o = e > i ? 0 : i - e >>> 0, e >>>= 0;
                for (var n = Array(o); ++a < o;) n[a] = t[a + e];
                return n
            }

            t.exports = i
        }, MoMe: function (t, e, i) {
            var a = i("f931"), o = a(Object.keys, Object);
            t.exports = o
        }, MvGl: function (t, e, i) {
            "use strict";
            Object.defineProperty(e, "__esModule", {value: !0});
            var a = i("TToO"), o = i("6HpJ"), n = i("6rBr"), s = i("YlCS"), r = i("0tEz"), l = i("waeE"), c = i("bV2p"),
                d = function (t) {
                    function e() {
                        for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];
                        var a = t.apply(this, e) || this, s = a;
                        return a.calendar = new o.a({
                            datamodel: {
                                selcalendartype: 1,
                                isMorning: !1,
                                displayMonthNum: 12,
                                showNav: !0
                            }, selectInDateItemFn: function (t, e, i) {
                                var a = [], o = e.getDate(),
                                    s = new n.a(new Date(n.a.getServerDate().getTime() + 1e3 * i));
                                n.a.getIntervalDay(s.format("Y-m-d"), new n.a(e).format("Y-m-d"));
                                return a[0] = '<p class="calendar-day">' + o + "</p>", a[1] = '<p class="calendar-note">\u5165\u4f4f</p>', a.join("")
                            }, selectOutDateItemFn: function (t, e, i) {
                                var a = [], o = e.getDate(),
                                    s = new n.a(new Date(n.a.getServerDate().getTime() + 1e3 * i));
                                n.a.getIntervalDay(s.format("Y-m-d"), new n.a(e).format("Y-m-d"));
                                return a[0] = '<p class="calendar-day">' + o + "</p>", a[1] = '<p class="calendar-note">' + t.day1 + "</p>", "\u5165\u79bb" === t.day1 && (a[2] = '<i class="calendar-day-checkin">6:00\u4e4b\u524d\u5165\u4f4f</i>'), a.join("")
                            }, onItemClick: function (t, e, i, a, o) {
                                var r = Object(l.getDateMoreInfo)(this.datamodel.selectInDay, n.a.getServerDate()),
                                    c = Object(l.getDateMoreInfo)(this.datamodel.selectOutDay, n.a.getServerDate()),
                                    d = new n.a(new Date(n.a.getServerDate().getTime() + 1e3 * this.jetLag)),
                                    h = n.a.getIntervalDay(d.format("Y-m-d"), new n.a(this.datamodel.selectInDay).format("Y-m-d")),
                                    p = n.a.getIntervalDay(d.format("Y-m-d"), new n.a(this.datamodel.selectOutDay).format("Y-m-d"));
                                this.hide(), s.trigger("onItemClick", {
                                    checkinDate: this.datamodel.selectInDay,
                                    checkinRecent: s.getRecentText(h),
                                    checkinFestval: r.festival || r.cfestival,
                                    checkinWeekday: r.week2,
                                    checkoutDate: this.datamodel.selectOutDay,
                                    checkoutRecent: s.getRecentText(p),
                                    checkoutFestval: c.festival || c.cfestival,
                                    checkoutWeekday: c.week2,
                                    isMorning: this.datamodel.isMorning,
                                    showMorningSwitch: this.datamodel.showMorningSwitch
                                })
                            }
                        }), a.calendar.on("onShow", function () {
                            return c.a.record("onCalendarOpened", "success")
                        }), a
                    }

                    return a.a(e, t), e.prototype.open = function (t, e, i, a, o) {
                        var r = e ? 2 : 1,
                            l = (n.a.parse(i), n.a.parse(a), s.a.getBizCalendarparams({cityType: r, jetLag: t}));
                        this.calendar.recentDaysHaveText = l.recentDaysHaveText, this.calendar.jetLag = l.jetLag, this.calendar.validStartDate = l.validStartDate, this.calendar.validEndDate = null, this.calendar.datamodel.miniUI = {layer: l.layer}, this.calendar.datamodel.curtext = "\u8bf7\u9009\u62e9\u5165\u4f4f\u65e5\u671f", this.calendar.datamodel.cityType = r, this.calendar.datamodel.isOversea = e, this.calendar.datamodel.selectInDay = n.a.parse(i).date, this.calendar.datamodel.selectOutDay = n.a.parse(a).date, this.calendar.datamodel.isMorning = o;
                        var c = n.a.getIntervalDay(i, a);
                        this.calendar.datamodel.adddays = o ? c + 1 : c, this.calendar.refresh(), this.calendar.show()
                    }, e.prototype.getRecentText = function (t) {
                        switch (t) {
                            case 0:
                                return "\u4eca\u5929";
                            default:
                                return ""
                        }
                    }, e
                }(r.a);
            e.default = d
        }, MwXj: function (t, e) {
            t.exports = ' <div class="coupons-box js_coupon_box"> <div class="tc js_loading" style="display: none"><img src="https://pic.ctrip.com/h5/hotel/hotel-loading100x100.gif" width="50" alt=""></div> <div class="coupons-close-box js_close"><span class="close"></span></div> </div> '
        }, NbKF: function (t, e) {
            t.exports = '<div class="cm-slide"> <style> .cm-slide .cm-slide-list:before, .cm-slide .cm-slide-list:after {\r\n            content : "";\r\n            display : table\r\n        }\r\n        .cm-slide .cm-slide-list:after {\r\n            clear : both\r\n        }\r\n        .cm-slide {\r\n            overflow : hidden;\r\n            position : relative;\r\n            height   : 10.5rem\r\n        }\r\n        .cm-slide .cm-slide-view {\r\n            width : 100%\r\n        }\r\n        .cm-slide .cm-slide-list {\r\n            width    : 200rem;\r\n            position : absolute\r\n        }\r\n        .cm-slide .cm-slide-list .cm-slide-item {\r\n            float : left;\r\n            display: -webkit-box;\r\n            display: -webkit-flex;\r\n            display: flex;\r\n            -webkit-box-pack: center;\r\n            -webkit-justify-content: center;\r\n            justify-content: center;\r\n            -webkit-box-align: center;\r\n            -webkit-align-items: center;\r\n            align-items: center;\r\n            width: 100%;\r\n            box-sizing: border-box;\r\n        }\r\n        .cm-slide--full-img img {\r\n            width : 100%\r\n        }\r\n        .cm-slide.cm-slide--vertical .cm-slide-list {\r\n            width : 100%\r\n        }\r\n        .cm-slide.cm-slide--vertical .cm-slide-list .cm-slide-item {\r\n            float : none\r\n        }\r\n        .cm-slide .cm-slide-bullet {\r\n            position   : absolute;\r\n            z-index    : 99;\r\n            left       : 0;\r\n            right      : 0;\r\n            bottom     : 0.5rem;\r\n            text-align : center\r\n        }\r\n        .cm-slide .cm-slide-bullet .cm-bullet-item {\r\n            font-style       : normal;\r\n            font-size        : 0;\r\n            background-color : rgba(0, 0, 0, 0.8);\r\n            display          : inline-block;\r\n            width            : 0.4rem;\r\n            height           : 0.4rem;\r\n            border-radius    : 0.25rem;\r\n            margin           : 0.1rem\r\n        }\r\n        .cm-slide .cm-slide-bullet .cm-bullet-item.active {\r\n            background-color : rgba(255, 255, 255, 0.8)\r\n        }\r\n\r\n        .cm-slide .cui-slide-nav-new {\r\n            color:#fff;\r\n            position:absolute;\r\n            bottom:0.45rem;\r\n            text-align:right;\r\n            right:1.1em;\r\n            z-index:500;\r\n            -webkit-transform:translateZ(0);/*\u6570\u5b57\u6296\u52a8bug*/\r\n            transform:translateZ(0);\r\n            text-shadow:0 2px 1px rgba(0,0,0,.5);\r\n        } </style> <ul class="cm-slide-list js_scroller <%=className %>" style="position: absolute;"> <%if(typeof firstLoopItem != \'undefined\'){ %> <li class="cm-slide-item" data-key="first"> <%=((typeof itemFn == \'function\' && itemFn(firstLoopItem, -1)) || firstLoopItem.name) %> </li> <%} %> <%for(var i = 0, len = data.length; i < len; i++) { %> <li class="cm-slide-item" data-key="<%=data[i].id %>" data-index="<%=i%>"> <%=((typeof itemFn == \'function\' && itemFn(data[i], i)) || data[i].name) %> </li> <%} %> <%if(typeof lastLoopItem != \'undefined\'){ %> <li class="cm-slide-item" data-key="last"> <%=((typeof itemFn == \'function\' && itemFn(lastLoopItem, -1)) || lastLoopItem.name) %> </li> <%} %> </ul> </div>'
        }, NkRn: function (t, e, i) {
            var a = i("TQ3y"), o = a.Symbol;
            t.exports = o
        }, Nkkh: function (t, e, i) {
            function a(t, e) {
                return o(t, n(t), e)
            }

            var o = i("tv3T"), n = i("l9Lx");
            t.exports = a
        }, O4Lo: function (t, e, i) {
            function a(t, e, i) {
                function a(e) {
                    var i = v, a = y;
                    return v = y = void 0, k = e, D = t.apply(a, i)
                }

                function d(t) {
                    return k = t, w = setTimeout(u, e), T ? a(t) : D
                }

                function h(t) {
                    var i = t - E, a = t - k, o = e - i;
                    return O ? c(o, b - a) : o
                }

                function p(t) {
                    var i = t - E, a = t - k;
                    return void 0 === E || i >= e || i < 0 || O && a >= b
                }

                function u() {
                    var t = n();
                    if (p(t)) return m(t);
                    w = setTimeout(u, h(t))
                }

                function m(t) {
                    return w = void 0, P && v ? a(t) : (v = y = void 0, D)
                }

                function f() {
                    void 0 !== w && clearTimeout(w), k = 0, v = E = y = w = void 0
                }

                function _() {
                    return void 0 === w ? D : m(n())
                }

                function g() {
                    var t = n(), i = p(t);
                    if (v = arguments, y = this, E = t, i) {
                        if (void 0 === w) return d(E);
                        if (O) return w = setTimeout(u, e), a(E)
                    }
                    return void 0 === w && (w = setTimeout(u, e)), D
                }

                var v, y, b, D, w, E, k = 0, T = !1, O = !1, P = !0;
                if ("function" != typeof t) throw new TypeError(r);
                return e = s(e) || 0, o(i) && (T = !!i.leading, O = "maxWait" in i, b = O ? l(s(i.maxWait) || 0, e) : b, P = "trailing" in i ? !!i.trailing : P), g.cancel = f, g.flush = _, g
            }

            var o = i("yCNF"), n = i("RVHk"), s = i("kxzG"), r = "Expected a function", l = Math.max, c = Math.min;
            t.exports = a
        }, O8hG: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("b+im"), s = i("ZUSN"), r = i.n(s), l = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = r.a, this.datamodel.title = "", this.datamodel.body = "", this.datamodel.btns = [], this.addEvents({
                        "click .cui-btns-ok": "okAction",
                        "click .cui-btns-cancel": "cancelAction",
                        "click .js_btn_close": "closeAction",
                        "click .js_meetingRoomSwitch": "toggleMeetingRoom"
                    }), this.head = null, this.body = null, this.maxHeight = 300, this.sheight = 0, this.scrollOpts = {}
                }, e.prototype.okAction = function () {
                }, e.prototype.cancelAction = function () {
                }, e.prototype.closeAction = function () {
                    this.hide()
                }, e.prototype.initElement = function () {
                    this.box_wrapper = this.$(".js_detail_pop_box"), this.swrapper = this.$(".js_swrapper")
                }, e.prototype.initSize = function () {
                    var t = this.datamodel;
                    if (t.title) {
                        this.title = t.title, this.head = this.$(".js_hd");
                        var e = t.headerHeight;
                        if (e) switch (e) {
                            case"auto":
                                this.head.addClass("hotel-hd-title");
                                break;
                            case"number" == typeof e:
                                this.head.css({height: parseInt(e, 10)})
                        }
                    }
                    t.body && "string" == typeof t.body && (this.body = this.swrapper.children()), (this.title || this.body) && this._initWrapperSize()
                }, e.prototype._initWrapperSize = function () {
                    this.sheight = this.body && this.body.height();
                    var t = this.head && this.head.height() || 0;
                    this.maxHeight = .8 * $(window).height() - t;
                    var e = Math.min(this.sheight, this.maxHeight);
                    this.swrapper.height(e), this.width && this.box_wrapper.width(this.width)
                }, e.prototype.setOption = function (e) {
                    var i = this;
                    t.prototype.setOption.call(this, e), this.needAnimat = !0, this.animateInClass = "animated slideInUp", this.animateOutClass = "animated slideOutDown", this.on("onPreShow", function () {
                        i.$el.addClass("l--ab"), i.$el.attr({style: "z-index:" + i.$el.css("zIndex")})
                    })
                }, e.prototype._removeTouchEvent = function () {
                    this.$(".js_swrapper>div").off("touchmove"), this.$(".js_swrapper>div").off("mousemove")
                }, e.prototype._initScroll = function () {
                    this.scroll && this.scroll.destory && this.scroll.destory(), this.sheight >= this.maxHeight && (this.scrollOpts = {
                        wrapper: this.swrapper,
                        scroller: this.body,
                        scrollType: "y",
                        step: 5,
                        bounceTime: 200,
                        momentum: !0
                    }, this.scroll = new n.a(this.scrollOpts))
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this);
                    this.on("onShow", function () {
                        this.initSize(), this._initScroll()
                    }, 1), this.on("onHide", function () {
                        var t = this;
                        this.scroll && (this.scroll.destroy(), this.scroll = null), setTimeout(function () {
                            t.destroy()
                        }, 300)
                    })
                }, e.prototype.show = function () {
                    t.prototype.show.call(this)
                }, e.prototype.toggleMeetingRoom = function () {
                    $(".js_meetingRoom").toggleClass("current"), $(".js_meetingRoom").hasClass("current") ? ($(".js_meetingRoomSwitch").html($(".js_meetingRoomSwitch").html().replace("\u8be6\u60c5", "\u6536\u8d77")), $(".js_meetingRoomSwitchIcon").removeClass("dl-font-arrow-down"), $(".js_meetingRoomSwitchIcon").addClass("dl-font-arrow-up"), $(".js_meetingRoomDetail").show()) : ($(".js_meetingRoomSwitch").html($(".js_meetingRoomSwitch").html().replace("\u6536\u8d77", "\u8be6\u60c5")), $(".js_meetingRoomSwitchIcon").removeClass("dl-font-arrow-up"), $(".js_meetingRoomSwitchIcon").addClass("dl-font-arrow-down"), $(".js_meetingRoomDetail").hide())
                }, e.prototype.reposition = function () {
                }, e
            }(o.a);
            e.a = l
        }, OdGI: function (t, e, i) {
            var a = i("eG8/"), o = a("length");
            t.exports = o
        }, Oo6K: function (t, e, i) {
            function a(t, e, i) {
                for (var a = -1, n = t.criteria, s = e.criteria, r = n.length, l = i.length; ++a < r;) {
                    var c = o(n[a], s[a]);
                    if (c) {
                        if (a >= l) return c;
                        return c * ("desc" == i[a] ? -1 : 1)
                    }
                }
                return t.index - e.index
            }

            var o = i("nbsL");
            t.exports = a
        }, PWlk: function (t, e) {
            t.exports = ' <%if((baseRooms && baseRooms.length) || (guessUFavRooms && guessUFavRooms.length)){%>  <%if(guessUFavRooms && guessUFavRooms.length){%> <%\r\n  var roomlist = guessUFavRooms && guessUFavRooms[0] && guessUFavRooms[0].roomList;\r\n  var i = 0;\r\n  %> <%if(!canShowBaseRoom){ %>  <% each(roomlist, function(v) { i++ %> <li class="item js_baseroom_item recommend-item" data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" data-list="true"> <div class="room-img" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <img src="<%=v.roomimg.replace(\'http://\', \'//\')%>" alt="" onerror=\'this.style.visibility="hidden"\'> <span class="count"><%=v.amount%>\u5f20</span> <%if (v.headtags && v.headtags.length) { %> <%each(v.headtags, function(tag){\r\n        if (tag.id === 10010) {return;}%> <span class="highlight"><%=tag.mark%></span> <%})%> <%}%> </div> <div class="cell-star dl-cell room--space <%=disable_booking_Cls%>" data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" data-index="<%=i%>"> <div class="cell-star room-bd js_rommimage" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <h3><%=(v.bname+(v.standardRoom === true ? "" : v.name))%> <%if (v.headtags && v.headtags.length) { %> <%each(v.headtags, function(tag){\r\n          if (tag.id !== 10010) {return;}%> <%=tag.mark%> <%})%> <%}%> </h3> <%if (v.ckintval) {%> <p class="room-size"><em>\u529e\u7406\u5165\u4f4f\uff1a<%= v.ckintval %></em></p> <%}%> <p class="room-size"> <%if(v.area){%> <em><%=v.area%></em> <%}%> <%if(v.bed){%> <em><%=v.bed%></em> <%}%> <%if(v.breakfast){%> <em class="<%=((v.breakfast != \'\u4e0d\u542b\u65e9\u9910\') ? \'dl-color7\' : \'\')%>"><%=v.breakfast%></em> <%}%> </p> <%if (v.promotags && v.promotags.length) {%> <p> <%each(v.promotags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.servicetags && v.servicetags.length) {%> <p> <%each(v.servicetags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if(v.canShowGuestImpression){%> <p class="dl-color dl-fn12"><%=v.guestImpressionTitle%><%=v.guestImpression%></p> <%}else if(v.motivationtags && v.motivationtags.length){%> <p> <%each(v.motivationtags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.servicetags && v.servicetags.length) {\r\n        each(v.servicetags, function(tag){\r\n        if(tag.description){%> <p class="dt-color8 dt-fn10"><%=tag.description%></p> <%}\r\n        })\r\n        }%> </div> <% var disable_booking_Cls = "dl-disabled", btnCls = "";\r\n        if (v.status === 1) {\r\n        disable_booking_Cls = "";\r\n        btnCls = v.isSelected?"js_bookroom dl-disabled":"js_bookroom"\r\n        }\r\n        %> <div class="cell-end room-column <%=btnCls%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_reserve\':\'c_hotel_inland_detail_room_reserve\')%>"> <p> <span class="price"> <% if(isShowAveragedTips) { %><span class="dl-fn13 js_price_desc_txt">\u5747&nbsp;</span><% } %> <small><%= cur%></small><span class="js-cas-p"><%= v.price%></span> <%if(v.cst){ %> <b class="hour-count">/<%= v.cst %></b> <% } %> </span> </p> <% if(v.tax > 0 ) { %> <p> <span class="price-tax js_txt_desc_txt">\u53e6\u4ed8\u7a0e&nbsp;<small><%= cur%></small><%= v.tax %></span> </p> <%}else if(typeof isoversea !==\'undefined\' && isoversea){%> <p><span class="dl-kf js_include_tax_txt">\u5df2\u542b\u7a0e\u8d39</span></p> <%}%> <%if(v.discountString){%> <p><span class="dl-kf js_discount_desc"><%=v.discountString%></span></p> <%}%> <%if(v.oriprice){%> <p> <del>\u539f\u4ef7\uff1a <small><%=cur%></small> <%=v.oriprice%> </del> </p> <%}%> <div class="dl-btn-mod"> <button class="dl-btn-t js_bookButton"><%=v.button.val%></button> <%if(v.pay === 2){%> <button class="dl-btn-yf">\u5728\u7ebf\u4ed8</button> <%}else if(v.pay === 3){%> <button class="dl-btn-db">\u62c5\u4fdd</button> <%} else {%> <button class="dl-btn-xf">\u5230\u5e97\u4ed8</button> <%}%> </div> </div> </div> </li> <% }) %> <%}else{%>  <% each(roomlist, function(v) { i++ %> <% var disable_booking_Cls = "dl-disabled", btnCls = "";\r\n    if (v.status === 1) {\r\n    disable_booking_Cls = "";\r\n    btnCls = v.isSelected?"js_bookroom dl-disabled":"js_bookroom"\r\n    }\r\n  %> <li class="item recommend-item js_baseroom_item" data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" data-list="true"> <div class="room-img"> <img class="js_rommimage" src="<%=v.roomimg.replace(\'http://\', \'//\')%>" alt="" onerror=\'this.style.visibility="hidden"\'> <span class="count"><%=v.amount%>\u5f20</span> <%if (v.headtags && v.headtags.length) { %> <%each(v.headtags, function(tag){\r\n        if (tag.id === 10010) {return;}%> <span class="highlight"><%=tag.mark%></span> <%})%> <%}%> </div> <% var disable_booking_Cls = "dl-disabled", btnCls = "";\r\n    if (v.status === 1) {\r\n    disable_booking_Cls = "";\r\n    btnCls = v.isSelected?"js_bookroom dl-disabled":"js_bookroom";\r\n    }\r\n    %> <div class="cell-star dl-cell room--space <%=disable_booking_Cls%> " data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" data-index="<%=i%>"> <div class="cell-star room-bd js_rommimage" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <h3><%=(v.bname+(v.standardRoom === true ? "" : v.name))%> <%if (v.headtags && v.headtags.length) { %> <%each(v.headtags, function(tag){\r\n            if (tag.id !== 10010) {return;}%> <%=tag.mark%> <%})%> <%}%> </h3> <%if (v.ckintval) {%> <p class="room-size"><em>\u529e\u7406\u5165\u4f4f\uff1a<%= v.ckintval %></em></p> <%}%> <p class="room-size"> <%if(v.breakfast){%> <em class="<%=((v.breakfast != \'\u4e0d\u542b\u65e9\u9910\') ? \'dl-color7\' : \'\')%>"><%=v.breakfast%></em> <%}%> <%if(v.bed){%> <em><%=v.bed%></em> <%}%> <%if(v.max){%> <em><%=v.max%></em> <%}%> </p> <%if (v.promotags && v.promotags.length) {%> <p> <%each(v.promotags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.servicetags && v.servicetags.length) {%> <p> <%each(v.servicetags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.motivationtags && v.motivationtags.length) {%> <p> <%each(v.motivationtags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.servicetags && v.servicetags.length) {\r\n          each(v.servicetags, function(tag){\r\n          if(tag.description){%> <p class="dl-color4 dl-fn12"><%=tag.description%></p> <%  }\r\n          })\r\n          }%> </div> <div class="cell-end room-column <%=btnCls%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_reserve\':\'c_hotel_inland_detail_room_reserve\')%>"> <p> <span class="price"> <% if(isShowAveragedTips) { %><span class="dl-fn13 js_price_desc_txt">\u5747&nbsp;</span><% } %> <small><%= cur%></small><span class="js-cas-p"><%= v.price%></span> </span> </p> <% if(v.tax > 0 ) { %> <p> <span class="price-tax js_txt_desc_txt">\u53e6\u4ed8\u7a0e&nbsp;<small><%= cur%></small><%= v.tax %></span> </p> <%}else if(typeof isoversea !==\'undefined\' && isoversea){%> <p><span class="dl-kf js_include_tax_txt">\u5df2\u542b\u7a0e\u8d39</span></p> <%}%> <%if(v.discountString){%> <p><span class="dl-kf js_discount_desc"><%=v.discountString%></span></p> <%}%> <%if(v.oriprice){%> <p> <del>\u539f\u4ef7\uff1a <small><%=cur%></small> <%=v.oriprice%> </del> </p> <%}%> <div class="dl-btn-mod"> <button class="dl-btn-t js_bookButton" data-coupon=""><%=v.button.val%></button> <%if(v.pay === 2){%> <button class="dl-btn-yf">\u5728\u7ebf\u4ed8</button> <%}else if(v.pay === 3){%> <button class="dl-btn-db">\u62c5\u4fdd</button> <%} else {%> <button class="dl-btn-xf">\u5230\u5e97\u4ed8</button> <%}%> </div> <%if(v.holdRoomQuantity){%> <p class="surplus-room">\u4ec5\u5269<%=v.holdRoomQuantity%>\u95f4</p> <%}%> </div> </div> </li> <% }) %> <%}%> <%}%>  <%if(baseRooms && baseRooms.length){%>  <%if(!canShowBaseRoom){%>  <%\r\n  var roomlist = baseRooms && baseRooms[0] && baseRooms[0].roomList;\r\n  var i=0, limitMoreCount = 7;\r\n  %> <% each(roomlist, function(v) { i++;%> <% var disable_booking_Cls = "dl-disabled", btnCls = "";\r\n    if (v.status === 1) {\r\n    disable_booking_Cls = "";\r\n    btnCls = v.isSelected?"js_bookroom dl-disabled":"js_bookroom"\r\n    }\r\n  %> <%if(i>limitMoreCount){%> <li class="item recommend-item js_baseroom_item" data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" style="display: none" data-more="true"> <%}else{%> </li><li class="item recommend-item js_baseroom_item" data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" data-list="true"> <%}%> <div class="room-img js_baseroom_item" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <img src="<%=v.roomimg.replace(\'http://\', \'//\')%>" alt="" onerror=\'this.style.visibility="hidden"\'> <span class="count"><%=v.amount%>\u5f20</span> <%if (v.headtags && v.headtags.length) { %> <%each(v.headtags, function(tag){\r\n        if (tag.id === 10010) {return;}%> <span class="highlight"><%=tag.mark%></span> <%})%> <%}%> </div> <div class="cell-star dl-cell room--space <%=disable_booking_Cls%> " data-roomid="<%=v.id%>" data-shadowid="<%= v.shadowid%>" data-index="<%=i%>"> <div class="cell-star room-bd js_baseroom_item" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <h3><%=(v.bname+(v.standardRoom === true ? "" : v.name))%> <%if (v.headtags && v.headtags.length) { %> <%each(v.headtags, function(tag){\r\n            if (tag.id !== 10010) {return;}%> <%=tag.mark%> <%})%> <%}%> </h3> <%if (v.ckintval) {%> <p class="room-size"><em>\u529e\u7406\u5165\u4f4f\uff1a<%= v.ckintval %></em></p> <%}%> <p class="room-size"> <%if(v.area){%> <em><%=v.area%></em> <%}%> <%if(v.bed){%> <em><%=v.bed%></em> <%}%> <%if(v.breakfast){%> <em class="<%=((v.breakfast != \'\u4e0d\u542b\u65e9\u9910\') ? \'dl-color7\' : \'\')%>"><%=v.breakfast%></em> <%}%> </p> <%if (v.promotags && v.promotags.length) {%> <p> <%each(v.promotags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.servicetags && v.servicetags.length) {%> <p> <%each(v.servicetags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if(v.canShowGuestImpression){%> <p class="dl-color dl-fn12"><%=v.guestImpressionTitle%><%=v.guestImpression%></p> <%}else if(v.motivationtags && v.motivationtags.length){%> <p> <%each(v.motivationtags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (v.servicetags && v.servicetags.length) {\r\n          each(v.servicetags, function(tag){\r\n          if(tag.description){%> <p class="dl-color4 dl-fn12"><%=tag.description%></p> <%  }\r\n          })\r\n          }%> </div> <% var disable_booking_Cls = "dl-disabled", btnCls = "";\r\n      if (v.status === 1) {\r\n      disable_booking_Cls = "";\r\n      btnCls = v.isSelected?"js_bookroom dl-disabled":"js_bookroom"\r\n      }\r\n      %> <div class="cell-end room-column <%=btnCls%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_reserve\':\'c_hotel_inland_detail_room_reserve\')%>"> <p> <span class="price"> <%if(isShowAveragedTips) { %><span class="dl-fn13 js_price_desc_txt">\u5747&nbsp;</span><% } %> <small><%= cur%></small><span class="js-cas-p"><%= v.price%></span> <%if(v.cst){ %> <span class="dl-color4">/<%= v.cst %></span> <% } %> </span> </p> <% if(v.tax > 0 ) { %> <p> <span class="price-tax js_txt_desc_txt">\u53e6\u4ed8\u7a0e&nbsp;<small><%= cur%></small><%= v.tax %></span> </p> <%}else if(typeof isoversea !==\'undefined\' && isoversea){%> <p><span class="dl-kf js_include_tax_txt">\u5df2\u542b\u7a0e\u8d39</span></p> <%}%> <%if(v.discountString){%> <p><span class="dl-kf js_discount_desc"><%=v.discountString%></span></p> <%}%> <%if(v.oriprice){%> <p> <del>\u539f\u4ef7\uff1a <small><%=cur%></small> <%=v.oriprice%> </del> </p> <%}%> <div class="dl-btn-mod"> <button class="dl-btn-t js_bookButton"><%=v.button.val%></button> <%if(v.pay === 2){%> <button class="dl-btn-yf">\u5728\u7ebf\u4ed8</button> <%}else if(v.pay === 3){%> <button class="dl-btn-db">\u62c5\u4fdd</button> <%} else {%> <button class="dl-btn-xf">\u5230\u5e97\u4ed8</button> <%}%> </div> </div> </div> </li> <% }) %> <%if(i>limitMoreCount){%> <li class="room-check-unfold js_moreroom"><em>\u5c55\u5f00\u5168\u90e8\u623f\u578b</em><span class="hotel-arr hotel-arrdown"></span></li> <%}else{%> <%}%>  <%}else{%>  <% var baseroom ,\r\n  rooms ,\r\n  limitMoreCount = 3;\r\n  for(var bindex=0, blen = baseRooms.length; bindex < blen; bindex++){\r\n  baseroom = baseRooms[bindex];\r\n  rooms = baseroom.roomList;\r\n  %> <li class="item" data-anchorid="<%=baseroom.mbid%>"> <div class="room-img js_show_baseroom" data-bid="<%=baseroom.bid%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <img src="<%=baseroom.img.replace(\'http://\', \'//\')%>" alt=""> <span class="count"><%=baseroom.amount%>\u5f20</span> </div> <div class="cell-star dl-cell room--space"> <div class="cell-star room-bd js_show_baseroom" data-bid="<%=baseroom.bid%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_basic\':\'c_hotel_inland_detail_room_basic\')%>"> <h3><%=baseroom.baseRoomName%></h3> <p class="room-size"> <%if(baseroom.area){%> <em><%=baseroom.area%></em> <%}%> <%if(baseroom.bed){%> <em><%=baseroom.bed%></em> <%}%> <%if(baseroom.floor){%> <em><%=baseroom.floor%></em> <%}%> </p> <% if(baseroom.tags && baseroom.tags.length || baseroom.isHasCashback){%> <p> <%if(baseroom.isHasCashback){%> <span class="dt-tag tag03">\u8fd4\u73b0</span> <%}%> <% for(var j=0,lt=baseroom.tags.length;j< lt;j++){\r\n          var tag = baseroom.tags[j];\r\n          %> <span class="dt-tag tag03"><%=tag%></span> <%}%> </p> <%}%> <%if(baseroom.guestImpression){%> <p class="dl-color dl-fn12"><%=baseroom.guestImpressionTitle%><%=baseroom.guestImpression%></p> <%}%> </div> <%\r\n      var fullHousestyle="";\r\n      if(baseroom.fullHouse){\r\n      fullHousestyle="cgray2"\r\n      }else{\r\n      fullHousestyle=""\r\n      }\r\n      var subroomdisplay="";\r\n      if(bindex !== 0){\r\n      subroomdisplay = "display:none;";\r\n      }\r\n      %> <div class="room-column align-end <%=fullHousestyle%> js_baseroomtoggle"> <p> <span class="price"><small><%=cur%></small><span class="js-cas-p"><%= baseroom.price %></span></span><span class="price-star">\u8d77</span> </p> </div> <%if(bindex===0){%> <div class="room-column align-end js_baseroomtoggle"><i class="dl-font-fold-up js_basearrow_icon"></i></div> <%}else{%> <div class="room-column align-end js_baseroomtoggle"><i class="dl-font-fold-down js_basearrow_icon"></i></div> <%}%> </div> <%if(baseroom.fullHouse){%> <span class="dl-adsorption"><em class="ads-tips">\u8ba2\u5b8c</em></span> <%}%> </li> <ul class="sub-romm js_childroomlist" style="<%=subroomdisplay%>"> <%\r\n    var i=0 ; each(rooms, function(room) { i++;\r\n    %> <%if(i>limitMoreCount){ %> <li class="item" data-roomid="<%=room.id%>" data-shadowid="<%= room.shadowid%>" style="display: none" data-more="true" data-index="<%=i%>"> <%}else{%> </li><li class="item" data-roomid="<%=room.id%>" data-shadowid="<%= room.shadowid%>" data-index="<%=i%>"> <%}%> <div class="cell-star <%=room.roomClass%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_sub\':\'c_hotel_inland_detail_room_sub\')%>"> <div class="room-bd"> <%if(subRoomInfoRefactor){%> <h4> <%if(room.breakfast){%> <span class="<%=((room.breakfast != \'\u4e0d\u542b\u65e9\u9910\') ? \'dl-color7\' : \'\')%>"><%=room.breakfast%>&nbsp;</span> <%}%> <%=room.max%> <%if (room.headtags && room.headtags.length) {%> <%each(room.headtags, function(tag){%> <%=tag.mark%> <%})%> <%}%> </h4> <p class="room-size"> <em><%= room.name %></em> </p> <%}else{%> <h4> <%= room.name %> <%if (room.headtags && room.headtags.length) {%> <%each(room.headtags, function(tag){%> <%=tag.mark%> <%})%> <%}%> </h4> <p class="room-size"> <%if(room.breakfast){%> <em class="<%=((room.breakfast != \'\u4e0d\u542b\u65e9\u9910\') ? \'dl-color7\' : \'\')%>"><%=room.breakfast%></em> <%}%> <%if(room.bed){%> <em><%=room.bed%></em> <%}%> <%if(room.max){%> <em><%=room.max%></em> <%}%> </p> <%}%> <%if (room.promotags && room.promotags.length) {%> <p> <%each(room.promotags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (room.servicetags && room.servicetags.length) {%> <p> <%each(room.servicetags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (room.motivationtags && room.motivationtags.length) {%> <p> <%each(room.motivationtags, function(tag){%> <%=tag.mark%> <%})%> </p> <%}%> <%if (room.servicetags && room.servicetags.length) {%> <%each(room.servicetags, function(tag){%> <%if(tag.description){%> <p class="dl-color4 dl-fn12"><%=tag.description%></p> <%}%> <%})%> <%}%> </div> </div> <%\r\n      var disable_booking_Cls = "dl-disabled", btnCls = "";\r\n      if (room.status === 1) {\r\n      disable_booking_Cls = "";\r\n      btnCls = room.isSelected?"js_bookroom dl-disabled":"js_bookroom"\r\n      }\r\n      %> <div class="cell-end dl-cell room--space2 <%=disable_booking_Cls%> <%=btnCls%>" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_reserve\':\'c_hotel_inland_detail_room_reserve\')%>"> <div class="room-column align-end"> <p> <span class="price"> <% if(isShowAveragedTips) { %><span class="dl-fn13 js_price_desc_txt">\u5747&nbsp;</span><% } %> <small><%= cur%></small><span class="js-cas-p"><%= room.price %></span> </span> </p> <% if(room.tax > 0 ) { %> <p><span class="price-tax js_txt_desc_txt">\u53e6\u4ed8\u7a0e&nbsp;<small><%= cur%></small><%= room.tax %></span></p> <%}else if(typeof isoversea !==\'undefined\' && isoversea){%> <p><span class="dl-kf js_include_tax_txt">\u5df2\u542b\u7a0e\u8d39</span></p> <%}%> <%if(room.discountString){%> <p><span class="dl-kf"><%=room.discountString%></span></p> <%}%> <%if(room.oriprice){%> <p> <del>\u539f\u4ef7\uff1a <small><%=cur%></small> <%=room.oriprice%> </del> </p> <%}%> </div> <div class="cell-end room-column <%=disable_booking_Cls%>"> <div class="dl-btn-mod"> <button class="dl-btn-t js_bookButton" data-coupon=""><%=room.button.val%></button> <%if(room.pay === 2){%> <button class="dl-btn-yf">\u5728\u7ebf\u4ed8</button> <%}else if(room.pay === 3){%> <button class="dl-btn-db">\u62c5\u4fdd</button> <%} else {%> <button class="dl-btn-xf">\u5230\u5e97\u4ed8</button> <%}%> </div> <%if(room.holdRoomQuantity){%> <p class="surplus-room">\u4ec5\u5269<%=room.holdRoomQuantity%>\u95f4</p> <%}%> </div> </div> </li> <%})%> <%if(i>limitMoreCount){%> <li class="js_moreChildrenRoom" data-ubt-key="<%=((typeof isoversea !==\'undefined\' && isoversea)?\'c_hotel_oversea_detail_room_unfold\':\'c_hotel_inland_detail_room_unfold\')%>"><p class="room-check-unfold"> \u67e5\u770b\u5269\u4f59<%=(rooms.length-limitMoreCount)%>\u4e2a\u4ef7\u683c<i class="dl-font-arrow-down dl-fn8 ml2"></i></p></li> <%}%> </ul> <%}%>  <%}%> <%}%> <%}else{%> <div class="dl-noresult"> <div class="noresult-tips" style="border-bottom: 0"> <i class="dl-font-glass"></i> <p>\u6ca1\u6709\u627e\u5230\u7b26\u5408\u6761\u4ef6\u7684\u623f\u578b\u4fe1\u606f\uff0c\u8bf7\u9009\u62e9<br/>\u5176\u4ed6\u9152\u5e97\u8fdb\u884c\u9884\u8ba2\u6216\u8005\u4fee\u6539\u65e5\u671f\u95f4\u6570\u91cd\u65b0\u67e5\u8be2\u3002</p> </div> </div> <%}%> <%if(typeof filterobj !="undefined" && filterobj){\r\nvar allkeys = Object.keys(filterobj);\r\nvar flag =false;\r\nif(allkeys.length){\r\n%> <div class="dl-keywords js_room_filter_panel"> <h3>\u60a8\u7b5b\u9009\u7684\u6761\u4ef6:</h3> <%each(allkeys,function(k){\r\n  var f = filterobj[k];\r\n  if(f && f.length){\r\n  each(f, function(item){\r\n  if(allkeys.length == 1 && f.length == 1&&k===\'breakfast\' && item && item.key == 1){\r\n  flag= true;\r\n  }\r\n  %> <span data-type="<%=k%>" data-value="<%=item.key%>" class="dl-border"><%=item.val%><i class="dl-font-close"></i></span> <%});%> <%}%> <%});%> <%if(flag && !((baseRooms && baseRooms.length) || (guessUFavRooms && guessUFavRooms.length))){%> <h3>\u6682\u65e0\u542b\u65e9\u9910\u623f\u578b</h3> <%}%> </div> <%}}%> '
        }, PllI: function (t, e, i) {
            "use strict";

            function a(t, e) {
                var i = "undefined" != typeof __HOTEL_COMMON_DATA__ && __HOTEL_COMMON_DATA__.imageHost || "";
                if (!t || !t.url || !i) return "";
                if (t.cat) {
                    var a = [i, t.url, "_C_550_412"];
                    return e = e || 50, "number" == typeof e && e > 0 && a.push("_Q" + e), a.push(t.ext), (window.__supportWebP__ || "true" === r.a.get("supportwebp")) && a.push("_.webp"), a.join("")
                }
                return t.url
            }

            function o(t, e) {
                var i = "undefined" != typeof __HOTEL_COMMON_DATA__ && __HOTEL_COMMON_DATA__.imageHost || "";
                if (!t || !t.url || !i) return "";
                if (t.cat) {
                    var a = 0 === t.url.indexOf(i) ? [t.url, "_C_300_225"] : [i, t.url, "_C_300_225"];
                    return e = e || 50, "number" == typeof e && e > 0 && a.push("_Q" + e), a.push(t.ext), (window.__supportWebP__ || "true" === r.a.get("supportwebp")) && a.push("_.webp"), a.join("")
                }
                return t.url
            }

            function n(t, e) {
                var i = "undefined" != typeof __HOTEL_COMMON_DATA__ && __HOTEL_COMMON_DATA__.imageHost || "";
                if (!t || !t.url || !i) return "";
                if (t.cat) {
                    var a = 0 === t.url.indexOf(i) ? [t.url, "_C_130_130"] : [i, t.url, "_C_130_130"];
                    return e = e || 50, "number" == typeof e && e > 0 && a.push("_Q" + e), a.push(t.ext), (window.__supportWebP__ || "true" === r.a.get("supportwebp")) && a.push("_.webp"), a.join("")
                }
                return t.url
            }

            function s(t, e) {
                var i = "undefined" != typeof __HOTEL_COMMON_DATA__ && __HOTEL_COMMON_DATA__.imageHost || "";
                if (!t || !t.url || !i) return "";
                if (t.cat) {
                    var a = 0 === t.url.indexOf(i) ? [t.url, "_C_750_400"] : [i, t.url, "_C_750_400"];
                    return e = e || 50, "number" == typeof e && e > 0 && a.push("_Q" + e), a.push(t.ext), (window.__supportWebP__ || "true" === r.a.get("supportwebp")) && a.push("_.webp"), a.join("")
                }
                return t.url
            }

            e.c = a, e.b = o, e.a = n, e.d = s;
            var r = i("KoQ7")
        }, PqYH: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length; ++i < a && !1 !== e(t[i], i, t);) ;
                return t
            }

            t.exports = i
        }, Pywt: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("oF5r"), s = i.n(n), r = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = s.a, this.unbindTouchEvent = !1, this.datamodel = {from: "index"}, this.events = {
                        "click .js_close_btn": function () {
                            this.mask && this.mask.hide(), this.hide()
                        }
                    }
                }, e.prototype.resetDefaultProperty = function () {
                    t.prototype.resetDefaultProperty.call(this)
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this, e), this.datamodel.from = e.datamodel.from
                }, e
            }(o.a);
            e.a = r
        }, QEiL: function (t, e, i) {
            "use strict";
            var a = i("+fW5"), o = i("cGzK"), n = function () {
                function t(t) {
                    t && a.a.reset()
                }

                return t.prototype.createPage = function (t, e) {
                    return new o.a(t, e)
                }, t
            }();
            e.a = n
        }, QUuP: function (t, e, i) {
            var a = i("l4he"), o = i("wS+S"), n = i("x2od"), s = i("/Rdg"),
                r = {escape: o, evaluate: n, interpolate: s, variable: "", imports: {_: {escape: a}}};
            t.exports = r
        }, Qp3N: function (t, e, i) {
            function a(t) {
                return s(t) || n(t) || !!(r && t && t[r])
            }

            var o = i("NkRn"), n = i("1Yb9"), s = i("NGEn"), r = o ? o.isConcatSpreadable : void 0;
            t.exports = a
        }, RVHk: function (t, e, i) {
            var a = i("TQ3y"), o = function () {
                return a.Date.now()
            };
            t.exports = o
        }, RfZv: function (t, e, i) {
            function a(t, e) {
                return null != t && n(t, e, o)
            }

            var o = i("SOZo"), n = i("IGcM");
            t.exports = a
        }, Rh28: function (t, e) {
            function i(t) {
                return "number" == typeof t && t > -1 && t % 1 == 0 && t <= a
            }

            var a = 9007199254740991;
            t.exports = i
        }, Rx1E: function (t, e, i) {
            function a(t, e, i, a) {
                var h = -1, p = n, u = !0, m = t.length, f = [], _ = e.length;
                if (!m) return f;
                i && (e = r(e, l(i))), a ? (p = s, u = !1) : e.length >= d && (p = c, u = !1, e = new o(e));
                t:for (; ++h < m;) {
                    var g = t[h], v = null == i ? g : i(g);
                    if (g = a || 0 !== g ? g : 0, u && v === v) {
                        for (var y = _; y--;) if (e[y] === v) continue t;
                        f.push(g)
                    } else p(e, v, a) || f.push(g)
                }
                return f
            }

            var o = i("7YkW"), n = i("JUs9"), s = i("s96k"), r = i("Hxdr"), l = i("S7p9"), c = i("dmQx"), d = 200;
            t.exports = a
        }, RyI1: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length, o = 0, n = []; ++i < a;) {
                    var s = t[i];
                    e(s, i, t) && (n[o++] = s)
                }
                return n
            }

            t.exports = i
        }, S8iL: function (t, e) {
            t.exports = '<div class="cm-num-adjust"> <style> .cm-num-adjust {\r\n      height           : 1.65rem;\r\n      color            : #4289ff;\r\n      background-color : #fff;\r\n      display          : inline-block;\r\n      border-radius    : 0.2rem\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus, .cm-num-adjust .cm-adjust-plus, .cm-num-adjust .cm-adjust-view {\r\n      width              : 1.65rem;\r\n      height             : 1.65rem;\r\n      line-height        : 1.55rem;\r\n      text-align         : center;\r\n      float              : left;\r\n      -webkit-box-sizing : border-box;\r\n      box-sizing         : border-box\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus, .cm-num-adjust .cm-adjust-plus {\r\n      cursor : pointer;\r\n      border : 1px solid #4289ff\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus.disabled,.cm-num-adjust .cm-adjust-view.disabled, .cm-num-adjust .cm-adjust-plus.disabled {\r\n      cursor           : default !important;\r\n      background-color : #fff !important;\r\n      border-color     : #999 !important;\r\n      color            : #999 !important\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus.disabled::before, .cm-num-adjust .cm-adjust-minus.disabled::after, .cm-num-adjust .cm-adjust-plus.disabled::before, .cm-num-adjust .cm-adjust-plus.disabled::after {\r\n      background-color : #999 !important\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus:active, .cm-num-adjust .cm-adjust-plus:active {\r\n      background-color : #4289ff\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus:active::before, .cm-num-adjust .cm-adjust-minus:active::after, .cm-num-adjust .cm-adjust-plus:active::before, .cm-num-adjust .cm-adjust-plus:active::after {\r\n      background-color : #fff\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus {\r\n      border-right  : none;\r\n      border-radius : 0.2rem 0 0 0.2rem;\r\n      position      : relative\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus::before {\r\n      content           : "";\r\n      height            : 0.1rem;\r\n      width             : 0.8rem;\r\n      background-color  : #4289ff;\r\n      position          : absolute;\r\n      top               : 50%;\r\n      left              : 50%;\r\n      -webkit-transform : translate3d(-50%, -50%, 0);\r\n      transform         : translate3d(-50%, -50%, 0)\r\n    }\r\n    .cm-num-adjust .cm-adjust-minus + .cm-adjust-plus {\r\n      border-left : 1px solid #4289ff\r\n    }\r\n    .cm-num-adjust .cm-adjust-plus {\r\n      border-left   : none;\r\n      border-radius : 0 0.2rem 0.2rem 0;\r\n      position      : relative\r\n    }\r\n    .cm-num-adjust .cm-adjust-plus::before, .cm-num-adjust .cm-adjust-plus::after {\r\n      content           : "";\r\n      width             : 0.8rem;\r\n      height            : 0.1rem;\r\n      background-color  : #4289ff;\r\n      position          : absolute;\r\n      top               : 50%;\r\n      left              : 50%;\r\n      -webkit-transform : translate3d(-50%, -50%, 0);\r\n      transform         : translate3d(-50%, -50%, 0)\r\n    }\r\n    .cm-num-adjust .cm-adjust-plus::after {\r\n      width  : 0.1rem;\r\n      height : 0.8rem\r\n    }\r\n    .cm-num-adjust .cm-adjust-view {\r\n      border   : 1px solid #4289ff;\r\n      overflow : hidden\r\n    }\r\n    .cm-num-adjust input.cm-adjust-view {\r\n      background-color   : #fff;\r\n      border-radius      : 0;\r\n      line-height        : normal;\r\n      /*padding-top        : 0.25rem;*/\r\n      width              : 1.85rem;\r\n      -webkit-appearance : none\r\n    }\r\n    .cm-num-adjust input.cm-adjust-view:focus {\r\n      outline            : none;\r\n      -webkit-box-shadow : none;\r\n      box-shadow         : none\r\n    }\r\n    .lc-itme .cm-num-adjust .cm-adjust-view {\r\n      width: .05rem;\r\n      border-right: 0;\r\n      color: transparent\r\n    } </style> <span class="cm-adjust-minus js_num_minus <% if(min == curNum) { %> disabled <% } %> "></span> <%if(needText == false){ %> <span class="cm-adjust-view js_cur_num"><%=curNum %><%=unit %></span> <%} else { %> <input type="tel" class="cm-adjust-view js_cur_num" value="<%=curNum %><%=unit %>"/> <%} %> <span class="cm-adjust-plus js_num_plus <% if(max == curNum) { %> disabled <% } %>"></span> </div> '
        }, SOZo: function (t, e) {
            function i(t, e) {
                return null != t && e in Object(t)
            }

            t.exports = i
        }, SQPA: function (t, e, i) {
            "use strict";
            var a = i("yKmV"), o = i("xvyn"), n = !1, s = function () {
                function t() {
                }

                return t.add = function (t, e, i) {
                    n || (n = !0, a.a.get(Object(o.a)("favhotel/add") + "/" + t + "?city=" + e, {}, function (t) {
                        n = !1, i(t && t.success)
                    }, function () {
                        n = !1, i(!1)
                    }))
                }, t.remove = function (t, e) {
                    n || (n = !0, a.a.get(Object(o.a)("favhotel/remove") + "/" + t, {}, function (t) {
                        n = !1, e(t && t.success)
                    }, function () {
                        n = !1, e(!1)
                    }))
                }, t
            }();
            e.a = s
        }, TLX3: function (t, e, i) {
            "use strict";
            var a = i("w9Mt"), o = i.n(a), n = i("csBb"), s = i("tlCT"), r = i("X77X"), l = i("X+u6"), c = function () {
                function t() {
                }

                return t.show = function (t, e, i) {
                    var a = $(e.currentTarget), c = t;
                    c.roomlistinfo && (c.isoversea = c.roomlistinfo.isOversea);
                    var d = c.roomlistinfo && c.roomlistinfo.rooms || [], h = c.roomsExt,
                        p = parseInt(a.data("bid"), 10), u = Object(r.a)({
                            baseroomId: p,
                            roomsData: d,
                            roomsExt: h,
                            scopedPageData: o()(c, ["hotelid", "isoversea", "inday", "outday"])
                        }, {roomcount: a.parents("li").next("ul").children("li").length - a.parents("li").next("ul").children("li.js_moreChildrenRoom").length});
                    if (!u) return null;
                    var m = "none" === a.parents("li").next("ul").css("display"), f = Object(s.a)(u), _ = new n.a({
                        needAnimat: !1,
                        scrollOpts: {scrollbars: !0, bounce: !0},
                        datamodel: {
                            title: f.title,
                            ttype: u.images.length ? "mask" : "gray",
                            body: f.body,
                            footer: m ? f.footer : "",
                            viewModel: u
                        },
                        events: {
                            "click .js_showmoreroom_poplayer": "showMoreRooms",
                            "click .js_goto_commentlist": "goToCommentList",
                            "click .js_toggle_trigger": "toggleFacBox"
                        },
                        goToCommentList: function () {
                            Object(l.c)(this.datamodel.viewModel)
                        },
                        toggleFacBox: function () {
                            Object(l.d)(this)
                        },
                        showMoreRooms: function () {
                            i.toggleExpandOfElemV2(a), _.hide();
                            var t = $(".cm-header").offset() && $(".cm-header").offset().height, e = a.offset().top;
                            window.scrollTo(0, e - t)
                        },
                        onShow: function () {
                            if (this._initWrapperSize(), u.images.length > 0) {
                                Object(l.b)(this.$(".js_pop_slide_container"), u.images, function () {
                                    return _.scroll && _.scroll.scrollTo(0, 0)
                                }).show(), this.refreshHeight()
                            }
                        }
                    });
                    return _.show(), _
                }, t
            }();
            e.a = c
        }, TOtM: function (t, e, i) {
            "use strict";
            var a = i("w9Mt"), o = i.n(a), n = i("csBb"), s = i("tlCT"), r = i("X77X"), l = i("X+u6"), c = function () {
                function t() {
                }

                return t.show = function (t, e, i) {
                    var a = $(e.currentTarget), c = t;
                    c.roomlistinfo && (c.isoversea = c.roomlistinfo.isOversea);
                    var d = c.roomlistinfo && c.roomlistinfo.rooms || [], h = c.roomsExt,
                        p = parseInt(a.data("bid"), 10), u = Object(r.b)({
                            baseroomId: p,
                            roomsData: d,
                            roomsExt: h,
                            scopedPageData: o()(c, ["hotelid", "isoversea", "inday", "outday"])
                        }, {roomcount: a.parents("li").next("ul").children("li").length - a.parents("li").next("ul").children("li.js_moreChildrenRoom").length});
                    if (!u) return null;
                    var m = "none" === a.parents("li").next("ul").css("display"), f = Object(s.b)(u), _ = new n.a({
                        needAnimat: !1,
                        scrollOpts: {scrollbars: !0, bounce: !0},
                        datamodel: {
                            title: f.title,
                            ttype: u.images.length ? "mask" : "gray",
                            body: f.body,
                            footer: m ? f.footer : "",
                            viewModel: u
                        },
                        events: {
                            "click .js_showmoreroom_poplayer": "showMoreRooms",
                            "click .js_goto_commentlist": "goToCommentList",
                            "click .js_toggle_trigger": "toggleFacBox"
                        },
                        goToCommentList: function () {
                            Object(l.c)(this.datamodel.viewModel)
                        },
                        toggleFacBox: function () {
                            Object(l.d)(this)
                        },
                        showMoreRooms: function () {
                            i.toggleExpandOfElemV2(a), _.hide();
                            var t = $(".cm-header").offset() && $(".cm-header").offset().height, e = a.offset().top;
                            window.scrollTo(0, e - t)
                        },
                        onShow: function () {
                            if (this._initWrapperSize(), u.images.length > 0) {
                                Object(l.b)(this.$(".js_pop_slide_container"), u.images, function () {
                                    return _.scroll && _.scroll.scrollTo(0, 0)
                                }).show(), this.refreshHeight()
                            }
                        }
                    });
                    return _.show(), _
                }, t
            }();
            e.a = c
        }, Tvex: function (t, e, i) {
            function a(t, e, i) {
                var a = -1, h = n, p = t.length, u = !0, m = [], f = m;
                if (i) u = !1, h = s; else if (p >= d) {
                    var _ = e ? null : l(t);
                    if (_) return c(_);
                    u = !1, h = r, f = new o
                } else f = e ? [] : m;
                t:for (; ++a < p;) {
                    var g = t[a], v = e ? e(g) : g;
                    if (g = i || 0 !== g ? g : 0, u && v === v) {
                        for (var y = f.length; y--;) if (f[y] === v) continue t;
                        e && f.push(v), m.push(g)
                    } else h(f, v, i) || (f !== m && f.push(v), m.push(g))
                }
                return m
            }

            var o = i("7YkW"), n = i("JUs9"), s = i("s96k"), r = i("dmQx"), l = i("V3Yo"), c = i("octw"), d = 200;
            t.exports = a
        }, UGrX: function (t, e) {
        }, UfSK: function (t, e) {
            function i(t) {
                var e = t.length, i = t.constructor(e);
                return e && "string" == typeof t[0] && o.call(t, "index") && (i.index = t.index, i.input = t.input), i
            }

            var a = Object.prototype, o = a.hasOwnProperty;
            t.exports = i
        }, V3Yo: function (t, e) {
            function i() {
            }

            t.exports = i
        }, V5ch: function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = i("NGEn"), n = i.n(o), s = i("6rBr"),
                r = new a.b({key: "P_SEARCH_STATUS", lifeTime: "5M"}), l = function () {
                    function t(t, e) {
                        this.key = t || "searchstatus", this.isPersistent = void 0 === e || e
                    }

                    return t.prototype.setCache = function (t) {
                        r.setAttr(this.key, t || [])
                    }, t.prototype.getCache = function () {
                        return r.getAttr(this.key) || []
                    }, t.prototype.clearCache = function () {
                        r.removeAttr(this.key)
                    }, t.prototype.setInoutDay = function (t, e, i) {
                        var a = this.getCache();
                        n()(a) && (a = {}), a.request || (a.request = {}), a.response || (a.response = {});
                        var o = a.request.checkinDate, r = a.request.checkoutDate;
                        a.request.checkinDate = t, a.request.checkoutDate = e, a.request.isMorning = i, i ? a.request.controlBitMap |= 4 : a.request.controlBitMap = 4 == (4 & a.request.controlBitMap) ? a.request.controlBitMap - 4 : a.request.controlBitMap, a.request.showCheckinDate = s.a.parse(t).format("m-d"), a.request.showCheckoutDate = s.a.parse(e).format("m-d"), o === t && r === e || (a.response.hotelInfoList = []), this.setCache(a)
                    }, t.prototype.setRoomPeople = function (t) {
                        var e = this.getCache();
                        n()(e) && (e = {}), e.request || (e.request = {}), e.response || (e.response = {}), e.request.roomQuantity = t.room, e.request.adultCounts = t.adult, e.request.childAges = t.children && t.children.toString().replace(/\,/g, "|"), this.setCache(e)
                    }, t
                }();
            e.a = l
        }, VQV5: function (t, e, i) {
            function a(t, e, i) {
                var a = null == t ? 0 : t.length;
                return a ? (e = i || void 0 === e ? 1 : n(e), e = a - e, o(t, e < 0 ? 0 : e, a)) : []
            }

            var o = i("M1c9"), n = i("5Zxu");
            t.exports = a
        }, VVHy: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("BUAs"), n = i.n(o), s = i("6M8Y"), r = i("g6+a"), l = i.n(r), c = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.resetDefaultProperty = function () {
                    t.prototype.resetDefaultProperty.call(this), this.maskToHide = !1, this.datamodel = {
                        title: "",
                        content: "content",
                        btns: [{name: "\u77e5\u9053\u4e86", className: "cui-btns-ok"}]
                    }, this.template = l.a, this.events = {
                        "click .cui-btns-ok": "okAction",
                        "click .cui-btns-cancel": "cancelAction",
                        "click .hb-close": "cancelAction",
                        "click .js-hb-close": "useAction"
                    }, this.okAction = function () {
                        this.hideDlg()
                    }, this.useAction = function () {
                        this.hideDlg()
                    }, this.cancelAction = function () {
                        this.hideDlg()
                    }
                }, e.prototype.hideDlg = function () {
                    this.trigger("hongbaopophide"), this.hide()
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this), this.on("onCreate", function () {
                    })
                }, e.prototype.setDatamodel = function (t, e, i) {
                    n()(this.datamodel, t || {}), e && (this.okAction = e), i && (this.cancelAction = i), this.refresh()
                }, e
            }(s.a);
            e.a = c
        }, VXg5: function (t, e, i) {
            function a(t, e) {
                return t && t.length ? n(t, o(e, 2)) : []
            }

            var o = i("JyYQ"), n = i("Tvex");
            t.exports = a
        }, WG2D: function (t, e) {
            t.exports = '<%if(nots && nots.length || inLimit || agentMsg ||(serviceTags && serviceTags.length) || ladderDeduction ) {%> <ul class="l-policy l-tb-border mb5 js_note_pop_b_box"> <%if(nots && nots.length || inLimit) {%> <li class="item"> <b>\u9884\u8ba2\u987b\u77e5</b> <p class="l-color1">\u7279\u522b\u63d0\u793a</p> <%if(inLimit){%> <p class="l-color4"><%=inLimit%></p> <%}%> <%\r\n    for(var j=0,len=nots.length;j< len;j++){\r\n    var notsItem = nots[j];\r\n    if(notsItem.message){\r\n    %> <p class="l-color4"><%=notsItem.message%></p> <%}}}%> </li> <%if(agentMsg){%> <li class="item"><p class="l-color4"><%=agentMsg%></p></li> <%}%> <% if(ladderDeduction && ladderDeduction.ladderCancelType && ladderDeduction.details && ladderDeduction.details.length){%> <li class="item"> <span class="tag-mod"> <%if(ladderDeduction.ladderCancelType === \'Free\'){%> <span class="dt-tag tag08">\u9650\u65f6\u53d6\u6d88</span> <%}else if(ladderDeduction.ladderCancelType === \'PartialFee\'){%> <span class="dt-tag tag08">\u53ef\u53d6\u6d88</span> <%}else{%> <span class="dt-tag tag08">\u4e0d\u53ef\u53d6\u6d88</span> <%}%> </span> <span class="bfc l-color4"> <ul class="g-cancel mt5"> <%for(var i=0,len=ladderDeduction.details.length;i< len;i++){%> <%if(i === 0){%> <li class="thead"> <%if(isoversea){%> <span><%=ladderDeduction.details[i].hotelLocalTimeDesc%></span> <%}%> <span><%=ladderDeduction.details[i].userLocalTimeDesc%></span> <span><%=ladderDeduction.details[i].amountDesc%></span> </li> <%}else{%> <li class="tbody"> <%if(isoversea){%> <span><%=ladderDeduction.details[i].hotelLocalTimeDesc%></span> <%}%> <span><%=ladderDeduction.details[i].userLocalTimeDesc%></span> <span class="<%=ladderDeduction.details[i].amountDesc === "\u514d\u8d39"? "free":""%>"><%=ladderDeduction.details[i].amountDesc%></span> </li> <%}%> <%}%> </ul> </span> </li> <%}%> <%if(serviceTags && serviceTags.length){\r\n      for(var i=0,len=serviceTags.length;i< len;i++){\r\n  %> <li class="item"> <%=serviceTags[i].title%> <%\r\n    var needElipse = false;\r\n    if (serviceTags[i].title && serviceTags[i].title.indexOf("\u7acb\u5373\u786e\u8ba4") > -1) {%> <p class="l-color4"><%=serviceTags[i].desc%></p> <%}else{ needElipse = true;%> <p class="l-color4 pop_b_tag_desc_ellipsis"><%=serviceTags[i].desc.split(/\\,|\uff0c|\u3002/)[0]%></p> <p class="l-color4 pop_b_tag_desc_all" style="display:none"><%=serviceTags[i].desc%></p> <%}%> </li> <%}}%> <%if (needElipse){%> <li class="item js_toggle_popb_note_expand"> <div class="l-color2 fr l-fn13 pr5">\u5c55\u5f00&nbsp;<i class="l-arr-down"></i></div> </li> <%}%> </ul> <%}%> '
        }, WQFf: function (t, e, i) {
            function a(t) {
                return "function" != typeof t.constructor || s(t) ? {} : o(n(t))
            }

            var o = i("VORN"), n = i("vi0E"), s = i("HT7L");
            t.exports = a
        }, Wg5R: function (t, e, i) {
            "use strict";
            e.a = [{age: -1, txt: "\u4e0d\u643a\u5e26"}, {age: 0, txt: "<1\u5c81"}, {age: 1, txt: "1\u5c81"}, {
                age: 2,
                txt: "2\u5c81"
            }, {age: 3, txt: "3\u5c81"}, {age: 4, txt: "4\u5c81"}, {age: 5, txt: "5\u5c81"}, {
                age: 6,
                txt: "6\u5c81"
            }, {age: 7, txt: "7\u5c81"}, {age: 8, txt: "8\u5c81"}, {age: 9, txt: "9\u5c81"}, {
                age: 10,
                txt: "10\u5c81"
            }, {age: 11, txt: "11\u5c81"}, {age: 12, txt: "12\u5c81"}, {age: 13, txt: "13\u5c81"}, {
                age: 14,
                txt: "14\u5c81"
            }, {age: 15, txt: "15\u5c81"}, {age: 16, txt: "16\u5c81"}, {age: 17, txt: "17\u5c81"}]
        }, WxI4: function (t, e) {
            function i() {
                this.__data__ = [], this.size = 0
            }

            t.exports = i
        }, "X+u6": function (t, e, i) {
            "use strict";

            function a(t) {
                var e = t.hotelid, i = t.isoversea ? "oversea/" : "", a = t.baseroomName || "", o = t.days,
                    n = t.daylater;
                Object(c.c)("comment", Object(d.c)(i + "hoteldetail/dianping/" + e + ".html?roomtype=" + a + "&fr=detail&daylater=" + n + "&days=" + o))
            }

            function o(t, e, i) {
                var a = new h.default({
                    datamodel: {
                        data: e || [], itemFn: function (t) {
                            return '<img src="' + t.url + '" class="xslide-image-loading" is="c-img" pageCode="H5HotelDetail">'
                        }
                    }, createNav: function () {
                        if (!this.sliderNav) {
                            var t = '<div class="cui-slide-nav-new">1/' + e.length + "</div>";
                            this.sliderNav = $(t), this.$el.append(this.sliderNav), this._setNavIndex(this.datamodel.index)
                        }
                    }, displayNum: 1, wrapper: t, changed: function (t) {
                        this.sliderNav.html(this.datamodel.index + 1 + "/" + e.length)
                    }, onShow: function () {
                        this.scroll && 1 === this.datamodel.data.length && (this.scroll.handleEvent = function () {
                            return null
                        })
                    }
                });
                return i && (a.itemLoad = i), a
            }

            function n(t, e, i) {
                if (t.isModify) return function () {
                    return u.a.publish("roomList.roomSelect", [{roomid: e, shadowid: i}])
                };
                var a = Object(p.a)(t, e, i);
                return function () {
                    return Object(p.b)(a)
                }
            }

            function s(t) {
                var e = t.$(".js_toggle_cell"), i = e.find(".js_toggle_cont_box"), a = e.find(".js_toggle_icon");
                if (e.find(".js_toggle_facility_expand").length) "none" === e.find(".js_toggle_facility_expand").css("display") ? (i.hide(), e.find(".js_toggle_facility_expand").show(), e.find(".js_toggle_facility_collapse").hide()) : "none" === e.find(".js_toggle_facility_collapse").css("display") && (i.show(), e.find(".js_toggle_facility_expand").hide(), e.find(".js_toggle_facility_collapse").show()); else {
                    var o = "l-arr-up";
                    a.hasClass(o) ? (a.removeClass(o), i.hide()) : (a.addClass(o), i.show())
                }
                t.refreshHeight();
                var n = t.scroll || {}, s = n.y;
                a.hasClass(o) || "none" === e.find(".js_toggle_facility_collapse").css("display") ? l()(s) && t.scroll.scrollTo(0, s - 10) : l()(s) && t.scroll.scrollTo(0, Math.min(-1, s + 40))
            }

            e.c = a, e.b = o, e.a = n, e.d = s;
            var r = i("J009"), l = i.n(r), c = i("QVf9"), d = i("xvyn"), h = i("aUNp"), p = i("2V6t"), u = i("nRI/")
        }, X77X: function (t, e, i) {
            "use strict";

            function a(t, e) {
                var i = _()(t, function (t) {
                    return t.id === e
                });
                return i ? i.desc : null
            }

            function o(t, e) {
                return w()(t || [], function (t) {
                    return t.hotelID === e
                })
            }

            function n(t) {
                var e = _()(t || [], function (t) {
                    return 10010 === t.id
                });
                return e ? e.desc : null
            }

            function s(t) {
                return t && t.length ? v()(t, function (t) {
                    return {url: Object(T.d)(t), title: t.title || ""}
                }) : []
            }

            function r(t, e) {
                if (!t || !t.length || !e) return null;
                var i = v()(t, function (t) {
                    return {
                        title: t.title, desc: v()(t.itemIds, function (t) {
                            return e[t]
                        }).join(",")
                    }
                });
                return k()(i, [function (t) {
                    return "\u6d74\u5ba4" === t.title ? -1 : "\u5176\u4ed6" === t.title ? 1 : 0
                }])
            }

            function l(t, e) {
                if (!t) return null;
                for (var i = r(t, e), a = 0, o = i; a < o.length; a++) {
                    var n = o[a];
                    if ("\u6d74\u5ba4" === n.title) return n
                }
                return null
            }

            function c(t, e, i) {
                var a, o, n = 1 === t.status, s = n && !i ? "" : "pay-way-disable",
                    r = 3 === t.status ? "\u8ba2\u5b8c" : e ? i ? "\u5df2\u9009" : "\u9009\u62e9" : "\u9884\u8ba2";
                switch (t.pay) {
                    case 2:
                        a = "\u5728\u7ebf\u4ed8", o = " way-yf ";
                        break;
                    case 3:
                        a = "\u62c5\u4fdd", o = " way-db ";
                        break;
                    case 1:
                    default:
                        a = "\u5230\u5e97\u4ed8", o = " way-xf "
                }
                return {payLabel: a, paycss: o, btnText: r, btncss: s}
            }

            function d(t) {
                return {
                    hotelid: t.hotelid,
                    hotelname: t.hotelname,
                    cityid: t.cityid,
                    region: t.region,
                    isoversea: t.isoversea,
                    days: t.days || 1,
                    daylater: t.daylater || 0,
                    fr: (t.fr || "").toLowerCase(),
                    inday: t.inday,
                    outday: t.outday,
                    num: 1,
                    sct: t.sct,
                    comefrom: t.comefrom,
                    contrl: parseInt(t.contrl, 10),
                    isMorning: t.isMorning,
                    pricetype: t.pricetype
                }
            }

            function h(t, e) {
                if (!t || !t.roomsExt || !t.scopedPageData) return null;
                var i = t.baseroomId, o = _()(t.roomsData, function (t) {
                    return t.bid === i
                }), l = _()(t.roomsExt.baserooms, function (t) {
                    return t.id === i
                }), c = _()(t.roomsExt.rooms, function (t) {
                    return t.id === o.id && t.shadowId === o.shadowId
                });
                if (!o || !l || !c) return null;
                var d = new O.a(O.a.getServerDate()), h = t.scopedPageData.inday, p = t.scopedPageData.outday,
                    u = O.a.getIntervalDay(h, p), m = O.a.getIntervalDay(d.format("Y-m-d"), h);
                return b()({
                    baseroomName: o.bname,
                    hotelid: t.scopedPageData.hotelid,
                    isoversea: t.scopedPageData.isoversea,
                    days: u,
                    daylater: m,
                    images: s(l.images),
                    commentCount: l.commentCount,
                    agentMsg: c.agent && c.agent.delegationText,
                    area: a(c.roomSpecs, 4),
                    max: a(c.roomSpecs, 5),
                    floor: a(c.roomSpecs, 6),
                    breakfast: a(c.roomSpecs, 1),
                    addBedDes: a(c.roomSpecs, 7),
                    bedWidth: a(c.roomSpecs, 8),
                    net: a(c.roomSpecs, 9),
                    smoke: a(c.roomSpecs, 17),
                    rmsgs: n(c.serviceTags),
                    roomDes: a(c.roomSpecs, 13),
                    windowInfo: a(c.roomSpecs, 18),
                    windowDes: l.window || "",
                    inLimit: a(c.roomSpecs, 10),
                    facilities: r(l.facilities, t.roomsExt.facilityCatalog),
                    balcony: o.balcony,
                    isBreakfast: !1,
                    isSuddenlyRoom: l.isSuddenlyRoom
                }, e || {})
            }

            function p(t, e) {
                if (!t || !t.roomsExt || !t.scopedPageData) return null;
                var i = t.baseroomId, o = _()(t.roomsData, function (t) {
                    return t.bid === i
                }), c = _()(t.roomsExt.baserooms, function (t) {
                    return t.id === i
                }), d = _()(t.roomsExt.rooms, function (t) {
                    return t.id === o.id && t.shadowId === o.shadowId
                });
                if (!o || !c || !d) return null;
                var h = new O.a(O.a.getServerDate()), p = t.scopedPageData.inday, u = t.scopedPageData.outday,
                    m = O.a.getIntervalDay(p, u), f = O.a.getIntervalDay(h.format("Y-m-d"), p);
                return b()({
                    baseroomName: o.bname,
                    hotelid: t.scopedPageData.hotelid,
                    isoversea: t.scopedPageData.isoversea,
                    days: m,
                    daylater: f,
                    images: s(c.images),
                    commentCount: c.commentCount,
                    agentMsg: d.agent && d.agent.delegationText,
                    area: a(d.roomSpecs, 4),
                    max: a(d.roomSpecs, 5),
                    floor: a(d.roomSpecs, 6),
                    breakfast: a(d.roomSpecs, 1),
                    addBedDes: a(d.roomSpecs, 7),
                    bedWidth: a(d.roomSpecs, 8),
                    net: a(d.roomSpecs, 9),
                    smoke: a(d.roomSpecs, 17),
                    rmsgs: n(d.serviceTags),
                    roomDes: a(d.roomSpecs, 13),
                    windowInfo: a(d.roomSpecs, 18),
                    windowDes: c.window || "",
                    inLimit: a(d.roomSpecs, 10),
                    facilities: r(c.facilities, t.roomsExt.facilityCatalog),
                    bathroomInfo: l(c.facilities, t.roomsExt.facilityCatalog),
                    balcony: o.balcony,
                    isBreakfast: !1,
                    isSuddenlyRoom: c.isSuddenlyRoom
                }, e || {})
            }

            function u(t, e) {
                if (!t || !t.roomsExt || !t.scopedPageData) return null;
                var i = t.roomsData || [], l = t.roomsExt, h = t.roomid, p = t.shadowid || 0, u = _()(i, function (t) {
                    return t.id === h && t.shadowId === p
                }), m = _()(l.rooms, function (t) {
                    return t.id === h && t.shadowId === p
                }), f = _()(l.baserooms, function (t) {
                    return t.id === u.bid
                });
                if (!u || !m || !f) return null;
                var g = t.isGray || !1, v = w()(i, function (t) {
                    return t.bid === u.bid
                }), y = {
                    baseroomName: u.bname,
                    roomIndexofBaseroom: v.indexOf(u),
                    peerRoomsLength: v.length,
                    title: m.name,
                    images: g ? [] : s(f.images),
                    commentCount: f.commentCount,
                    area: a(m.roomSpecs, 4),
                    floor: a(m.roomSpecs, 6),
                    rmsgs: n(m.serviceTags),
                    facilities: r(f.facilities, t.roomsExt.facilityCatalog),
                    agentMsg: m.agent && m.agent.delegationText,
                    breakfast: a(m.roomSpecs, 1),
                    bedType: a(m.roomSpecs, 2),
                    addBedDes: a(m.roomSpecs, 7),
                    max: a(m.roomSpecs, 5),
                    bedWidth: a(m.roomSpecs, 8),
                    net: a(m.roomSpecs, 9),
                    smoke: a(m.roomSpecs, 17),
                    inLimit: a(m.roomSpecs, 10),
                    roomDes: a(m.roomSpecs, 13),
                    windowInfo: a(m.roomSpecs, 18),
                    windowDes: f.window || "",
                    nots: o(l.hotelNotices, m.hotelId),
                    serviceTags: m.serviceTags,
                    ladderDeduction: m.ladderDeduction,
                    promoTags: m.promoTags,
                    taxdetail: m.taxdetail,
                    balcony: m.balcony,
                    isBreakfast: !0,
                    isSuddenlyRoom: m.isSuddenlyRoom
                };
                return b()(y, d(t.scopedPageData), c(u, t.isModify, t.isSelected), u, e || {})
            }

            function m(t, e) {
                if (!t || !t.roomsExt || !t.scopedPageData) return null;
                var i = t.roomsData || [], h = t.roomsExt, p = t.roomid, u = t.shadowid || 0, m = _()(i, function (t) {
                    return t.id === p && t.shadowId === u
                }), f = _()(h.rooms, function (t) {
                    return t.id === p && t.shadowId === u
                }), g = _()(h.baserooms, function (t) {
                    return t.id === m.bid
                });
                if (!m || !f || !g) return null;
                var v = t.isGray || !1, y = w()(i, function (t) {
                    return t.bid === m.bid
                }), D = {
                    baseroomName: m.bname,
                    roomIndexofBaseroom: y.indexOf(m),
                    peerRoomsLength: y.length,
                    title: f.name,
                    images: v ? [] : s(g.images),
                    commentCount: g.commentCount,
                    area: a(f.roomSpecs, 4),
                    floor: a(f.roomSpecs, 6),
                    rmsgs: n(f.serviceTags),
                    facilities: r(g.facilities, t.roomsExt.facilityCatalog),
                    bathroomInfo: l(g.facilities, t.roomsExt.facilityCatalog),
                    agentMsg: f.agent && f.agent.delegationText,
                    breakfast: a(f.roomSpecs, 1),
                    bedType: a(f.roomSpecs, 2),
                    addBedDes: a(f.roomSpecs, 7),
                    max: a(f.roomSpecs, 5),
                    bedWidth: a(f.roomSpecs, 8),
                    net: a(f.roomSpecs, 9),
                    smoke: a(f.roomSpecs, 17),
                    inLimit: a(f.roomSpecs, 10),
                    roomDes: a(f.roomSpecs, 13),
                    windowInfo: a(f.roomSpecs, 18),
                    windowDes: g.window || "",
                    nots: o(h.hotelNotices, f.hotelId),
                    serviceTags: f.serviceTags,
                    ladderDeduction: f.ladderDeduction,
                    promoTags: f.promoTags,
                    taxdetail: f.taxdetail,
                    balcony: f.balcony,
                    isBreakfast: !0,
                    isSuddenlyRoom: f.isSuddenlyRoom
                };
                return b()(D, d(t.scopedPageData), c(m), m, e || {})
            }

            e.a = h, e.b = p, e.c = u, e.d = m;
            var f = i("kbi+"), _ = i.n(f), g = i("2247"), v = i.n(g), y = i("BUAs"), b = i.n(y), D = i("RyI1"),
                w = i.n(D), E = i("KBYM"), k = i.n(E), T = i("PllI"), O = i("6rBr")
        }, "X8N+": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("eO/s"), s = i.n(n), r = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this)
                }, e.prototype.resetDefaultProperty = function () {
                    t.prototype.resetDefaultProperty.call(this), this.template = s.a, this.datamodel = {content: "toast"}, this.hideSec = 2e3, this.hasPushState = !1, this.TIMERRES = null, this.hideAction = function () {
                    }
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this, e)
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this), this.on("onCreate", function () {
                        this.$el.addClass("cui-toast")
                    }), this.on("onShow", function () {
                        this.TIMERRES && clearTimeout(this.TIMERRES), this.TIMERRES = setTimeout($.proxy(function () {
                            this.hide()
                        }, this), this.hideSec)
                    }), this.on("onHide", function () {
                        this.TIMERRES && clearTimeout(this.TIMERRES), this.hideAction()
                    })
                }, e.prototype.setDatamodel = function (t, e, i, a) {
                    this.datamodel.content = t, e && (this.hideSec = e), i && (this.hideAction = i), this.maskToHide = a, this.refresh()
                }, e
            }(o.a);
            e.a = r
        }, XQGS: function (t, e) {
            t.exports = '<%if(taxdetail && taxdetail.taxdesc){%> <ul class="l-sale c-box l-tb-border mb5"> <li class="item l-color4"><%=taxdetail.taxdesc%></li> </ul> <%}%> '
        }, Xu6E: function (t, e, i) {
            function a(t) {
                if (!n(t)) return !1;
                var e = o(t);
                return e == l || e == r || "string" == typeof t.message && "string" == typeof t.name && !s(t)
            }

            var o = i("aCM0"), n = i("UnEC"), s = i("9UkZ"), r = "[object DOMException]", l = "[object Error]";
            t.exports = a
        }, XyYp: function (t, e, i) {
            "use strict";
            var a = i("w9Mt"), o = i.n(a), n = i("csBb"), s = i("tlCT"), r = i("X77X"), l = i("X+u6"), c = function () {
                function t() {
                }

                return t.show = function (t, e, i) {
                    var a = $(e.currentTarget), c = a.data("roomid"), d = a.data("shadowid") || 0, h = t;
                    h.roomlistinfo && (h.isoversea = h.roomlistinfo.isOversea);
                    var p = h.roomlistinfo && h.roomlistinfo.rooms || [], u = h.roomsExt, m = Object(l.a)(h, c, d),
                        f = Object(r.d)({
                            isGray: i,
                            roomid: c,
                            shadowid: d,
                            roomsData: p,
                            roomsExt: u,
                            scopedPageData: o()(h, ["hotelid", "hotelname", "cityid", "region", "isoversea", "days", "fr", "inday", "outday", "num", "comefrom", "contrl", "isMorning", "pricetype", "daylater"])
                        });
                    if (!f) return null;
                    var i = i || !1, _ = Object(s.d)(f), g = new n.a({
                        needAnimat: !1,
                        scrollOpts: {scrollbars: !0, bounce: !0},
                        datamodel: {
                            title: _.title,
                            ttype: f.images.length && !i ? "mask" : "gray",
                            body: _.body,
                            footer: _.footer,
                            viewModel: f
                        },
                        events: {
                            "click .js_goto_commentlist": "goToCommentList",
                            "click .js_toggle_trigger": "toggleFacBox",
                            "click .js_btn_book": m,
                            "click .js_tag_expand_toggle": "toggleTagexpand",
                            "click .js_toggle_popb_note_expand": "toggleNoteExpand"
                        },
                        goToCommentList: function () {
                            Object(l.c)(this.datamodel.viewModel)
                        },
                        toggleFacBox: function () {
                            Object(l.d)(this)
                        },
                        onShow: function () {
                            if (this._initWrapperSize(), f.images.length > 0) {
                                Object(l.b)(this.$(".js_pop_slide_container"), f.images, function () {
                                    return g.scroll && g.scroll.scrollTo(0, 0)
                                }).show(), this.refreshHeight()
                            }
                        },
                        toggleTagexpand: function () {
                            var t = this.$(".js_tag_pop_b_box");
                            t.find(".l-arr-up").length ? (t.find(".js_tag_desc").hide(), t.find(".js_tag_expand_toggle").html('\u5c55\u5f00&nbsp;<i class="l-arr-down"></i>')) : (t.find(".js_tag_desc").show(), t.find(".js_tag_expand_toggle").html('\u6536\u8d77&nbsp;<i class="l-arr-down l-arr-up"></i>')), this.refreshHeight()
                        },
                        toggleNoteExpand: function () {
                            var t = this.$(".js_note_pop_b_box");
                            t.find(".l-arr-up").length ? (t.find(".pop_b_tag_desc_ellipsis").show(), t.find(".pop_b_tag_desc_all").hide(), t.find(".js_toggle_popb_note_expand").html('<div class="l-color2 l-fn13 fr pr5">\u5c55\u5f00&nbsp;<i class="l-arr-down"></i></div>')) : (t.find(".pop_b_tag_desc_ellipsis").hide(), t.find(".pop_b_tag_desc_all").show(), t.find(".js_toggle_popb_note_expand").html('<div class="l-color2 l-fn13 fr pr5">\u6536\u8d77&nbsp;<i class="l-arr-down l-arr-up"></i></div>')), this.refreshHeight()
                        }
                    });
                    return g.show(), g
                }, t
            }();
            e.a = c
        }, XzZE: function (t, e) {
            t.exports = '<%if(facilities && facilities.length){%> <ul class="facilities l-t-border js_toggle_cell"> <li class="item js_toggle_trigger js_toggle_facility_expand"><span class="l-color2 fr pr5">\u66f4\u591a\u8bbe\u65bd&nbsp;<i class="l-arr-down"></i></span> <%if(typeof bathroomInfo !== \'undefined\' && bathroomInfo){%> <span class="label"><%=bathroomInfo.title%></span><span class="bfc"><%=bathroomInfo.desc.replace(/\u514d\u8d39/g, \'<span class="sp-color7">\u514d\u8d39</span>\')%></span> <%}else{%> \u66f4\u591a\u623f\u578b\u8bbe\u65bd <%}%> </li> <%for(var i=0,len=facilities.length;i< len;i++){%> <li class="item js_toggle_cont_box" style="display:none"><span class="label"><%=facilities[i].title%></span><span class="bfc"> <%=facilities[i].desc.replace(/[^\u65e0]\u514d\u8d39/g, function(e){return e.replace(/\u514d\u8d39/g,\'<span class="sp-color7">\u514d\u8d39</span>\')})%></span></li> <%}%> <li class="item js_toggle_trigger js_toggle_facility_collapse" style="display:none"><span class="l-color2 fr pr5">\u6536\u8d77&nbsp;<i class="l-arr-down l-arr-up"></i></span></li> </ul> <%}%> '
        }, YLA9: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("GDZS"), n = i.n(o), s = i("S8iL"), r = i.n(s), l = i("0tEz"), c = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.datamodel = {
                        min: 1,
                        max: 9,
                        curNum: 1,
                        unit: "",
                        needText: !1
                    }, this.template = r.a, this.events = {
                        "click .js_num_minus": "minusAction",
                        "click .js_num_plus": "addAction",
                        "focus .js_cur_num": "txtFocus",
                        "blur .js_cur_num": "txtBlur"
                    }, this.needRootWrapper = !1
                }, e.prototype.initElement = function () {
                    this.curNum = this.$(".js_cur_num")
                }, e.prototype.txtFocus = function () {
                    this.curNum.val("")
                }, e.prototype.txtBlur = function () {
                    this.setVal(this.datamodel.needText ? this.curNum.val() : this.curNum.html())
                }, e.prototype.addAction = function () {
                    this.setVal(this.datamodel.curNum + 1)
                }, e.prototype.minusAction = function () {
                    this.setVal(this.datamodel.curNum - 1)
                }, e.prototype.changed = function (t) {
                }, e.prototype.getVal = function () {
                    return this.datamodel.curNum
                }, e.prototype.setVal = function (t) {
                    var e = !0, i = this.datamodel.curNum;
                    "" === t && (t = i), t = parseInt(t, 10), n()(t) || (this.datamodel.curNum = t, t < this.datamodel.min && (this.datamodel.curNum = this.datamodel.min), t > this.datamodel.max && (this.datamodel.curNum = this.datamodel.max), e = this.datamodel.curNum !== i), this.resetNum(e), this.datamodel.min === this.datamodel.max && this.curNum.addClass("disabled")
                }, e.prototype.resetNum = function (t) {
                    this.refresh(), t && this.changed.call(this, this.datamodel.curNum)
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this, e)
                }, e.prototype.resetPropery = function () {
                    this.datamodel.curNum > this.datamodel.max ? this.datamodel.curNum = this.datamodel.max : this.datamodel.curNum < this.datamodel.min && (this.datamodel.curNum = this.datamodel.min)
                }, e
            }(l.a);
            e.a = c
        }, YlCS: function (t, e, i) {
            "use strict";
            var a = i("6rBr"), o = function () {
                function t() {
                }

                return t.prototype.isValidJetLag = function (t) {
                    var e = !1;
                    if (Number.isNaN(t)) return !1;
                    t = parseInt(t / 3600, 10);
                    return t >= -20 && t <= 6 && (e = !0), e
                }, t.prototype.getDefaultSelectedIndayOfNewCity = function (t) {
                    var e = t.cityType, i = t.jetLag, o = t.lastSelectedDate;
                    return 2 === parseInt(e, 10) && this.isValidJetLag(i) ? function (t) {
                        var e, i = t.lastSelecteDate, o = t.jetLagout, n = Object(a.d)(),
                            s = new Date(n.getTime() + 1e3 * o);
                        return s.setHours(0, 0, 0, 0), i ? (i.setHours(0, 0, 0, 0), e = i >= s.getTime() ? i : s) : e = s, e
                    }(t) : function (t) {
                        var e, i = Object(a.d)();
                        return i.setHours(0, 0, 0, 0), t ? (t.setHours(0, 0, 0, 0), e = t.getTime() >= i.getTime() ? t : i) : e = i, e
                    }(o)
                }, t.prototype.getInDayValidStartDate = function (t) {
                    var e = t.cityType, i = t.jetLag, o = Object(a.d)(), n = o;
                    return 1 === parseInt(e, 10) && (i = 0), this.isValidJetLag(i) ? n = new Date(o.getTime() + 1e3 * i) : (o.setHours(0, 0, 0, 0), n = new Date(o.getTime() - 864e5)), n
                }, t.prototype.getMiniUILayer = function (t) {
                    var e = !0;
                    return e = 1 !== parseInt(t, 10), {
                        text: "\u60a8\u9009\u7684\u662f\u9152\u5e97\u5f53\u5730\u65e5\u671f",
                        visible: e
                    }
                }, t.prototype.getRecentDaysHaveText = function (t) {
                    var e = t.jetLag, i = t.cityType, a = !0;
                    return 1 === parseInt(i, 10) && (e = 0), (1 !== i && 2 !== i || !this.isValidJetLag(e) && 1 !== i) && (a = !1), a
                }, t.prototype.formatJetLagForCalendar = function (t) {
                    var e = t.jetLag, i = t.cityType;
                    return 1 === parseInt(i, 10) && (e = 0), 2 !== i && 1 !== i && (e = 0), e
                }, t.prototype.getBizCalendarparams = function (t) {
                    var e = t.cityType;
                    return {
                        recentDaysHaveText: this.getRecentDaysHaveText(t),
                        layer: this.getMiniUILayer(e),
                        validStartDate: this.getInDayValidStartDate(t),
                        jetLag: this.formatJetLagForCalendar(t)
                    }
                }, t
            }(), n = new o;
            e.a = n
        }, YqDm: function (t, e, i) {
            function a(t, e) {
                return (r(t) ? o : n)(t, l(s(e, 3)))
            }

            var o = i("lb6C"), n = i("eShC"), s = i("JyYQ"), r = i("NGEn"), l = i("+JtJ");
            t.exports = a
        }, YsVG: function (t, e) {
            function i() {
                return !1
            }

            t.exports = i
        }, YtmL: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("q2rF"), n = i("yvtv"), s = i("jnGA"), r = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.initQuickLogin = function (t) {
                    var e = this;
                    this.mask = new s.a({events: {"click .js_close_login": e.hideLogin.bind(this)}}), this.tabQuickLogin = new n.a({
                        datamodel: {
                            selectedKey: -1,
                            data: [{id: 0, name: "\u624b\u673a\u52a8\u6001\u9a8c\u8bc1\u7801\u767b\u5f55"}, {
                                id: 1,
                                name: "\u666e\u901a\u767b\u5f55"
                            }]
                        }, onShow: function () {
                            this.setIndex(0)
                        }, onChange: function (i) {
                            if (0 === i.id) CLogin.uipageview.loaddynamic("logincontainer", function (t) {
                                e.isShowLogin(t, e)
                            }); else {
                                CLogin.uipageview.loadcommonlogin("logincontainer", function (t) {
                                    e.isShowLogin(t, e)
                                });
                                var a = window.location.host, o = "accounts.ctrip.com";
                                a.match(/^m\.ctrip\.com/i) ? o = "accounts.ctrip.com" : a.match(/.uat\.qa/i) ? o = "accounts.uat.qa.nt.ctripcorp.com" : a.match(/.fat/i) || a.match(/.fws/i) ? o = "accounts.fat466.qa.nt.ctripcorp.com" : a.match(/^(localhost|172\.16|127\.0)/i) ? o = "accounts.fat466.qa.nt.ctripcorp.com" : a.match(/\.uat\.ctripqa\.com/i) && (o = "accounts.uat.ctripqa.com");
                                var n = {
                                    MEMBER_LOGIN: "https://" + o + "/H5Login/#login",
                                    REGISTER: "https://" + o + "/H5Register/"
                                }, s = $("#clogin_otherlogin"), r = $("#clogin_register");
                                s.attr("href", n.MEMBER_LOGIN + "?from=" + (t ? encodeURIComponent(t) : encodeURIComponent(location.href))), r.attr("href", n.REGISTER + "?from=" + (t ? encodeURIComponent(t) : encodeURIComponent(location.href)))
                            }
                        }, wrapper: this.mask.$el
                    }), this.tabQuickLogin.$el.append($('<div id="logincontainer" style="background-color:#fff" class="p10"/>')), "booking" != this.pageName && this.mask.$el.prepend($('<div id="loginheader" style="position:static" class="cm-header">\n      <span class="cm-header-icon fr"><i class="g-login-close js_close_login"></i></span>\n      <h1 class="cm-page-title dt-header">\u4f1a\u5458\u767b\u5f55</h1>\n    </div>'))
                }, e.prototype.isShowLogin = function (t, e) {
                    0 == +t.ReturnCode && ("function" == typeof e.afterLogin && e.afterLogin(), e.hideLogin())
                }, e.prototype.showLogin = function (t) {
                    this.afterLogin = t, this.mask.show(), this.tabQuickLogin.show(), "booking" === this.pageName && (this.tabQuickLogin.wrapper.css("top", "3.7rem"), this.channelData && this.channelData.isHideHeader && this.tabQuickLogin.wrapper.css("top", "1.7rem")), this.tabQuickLogin.onChange({id: 0}), window.scrollTo(0, 0), this.disableScroll()
                }, e.prototype.hideLogin = function () {
                    this.tabQuickLogin.hide(), this.mask.hide(), this.afterLogin = null, this.enableScroll()
                }, e
            }(o.a);
            e.a = r
        }, Z8WZ: function (t, e, i) {
            var a = i("eG8/"), o = a("length");
            t.exports = o
        }, ZD0O: function (t, e, i) {
            function a(t, e) {
                return o(t, e, function (e, i) {
                    return n(t, i)
                })
            }

            var o = i("CHen"), n = i("RfZv");
            t.exports = a
        }, ZT2e: function (t, e) {
            function i(t) {
                return t
            }

            t.exports = i
        }, ZUSN: function (t, e) {
            t.exports = ' <div class="l js_detail_pop_box" rel="\u9152\u5e97\u8be6\u60c5\u5f39\u5c42html\u533a\u57df"> <%if(title){%> <div class="hd js_hd gray" rel="\u7070\u8272\u56fa\u5b9a\u5934\u90e8"><%=title%><span class="a-area js_btn_close"><i class="l-close"></i></span></div> <%}%> <% if(!!body && (typeof body).toLowerCase()==\'string\' && body.length>0){%> <div class="bd js_swrapper" rel="\u4e2d\u95f4\u5e26\u6eda\u52a8\u6761\u533a\u57df" style="overflow: hidden; position: relative;"><%=body%> </div> <%}%> </div> '
        }, ZX7i: function (t, e) {
            t.exports = '<div class="l-p10"> <div class="l-btn js_showmoreroom_poplayer" data-ubt-key="c_hotel_detailinland_baseroomlayershowall">\u67e5\u770b\u5168\u90e8<%=roomcount%>\u4e2a\u4ef7\u683c</div> </div> '
        }, Zqam: function (t, e) {
            t.exports = '<%\r\nvar exTopBarWrapperClass = \'\';\r\nif(miniUI && miniUI.topBar && miniUI.topBar.visible && miniUI.topBar.html){\r\nexTopBarWrapperClass = \'hotel-select-date-tips\';\r\n};\r\nvar atTimeClass = \'\';\r\nif(showMorningSwitch) {\r\natTimeClass = \'morninghotel\'\r\n}\r\n%> <style type="text/css"> .cui_inoutday_calendar { position: fixed; top: 20%; height: 80%; overflow: hidden; width: 100%; z-index: 99999;/*-webkit-overflow-scrolling: touch;*/ }\r\n.cui_cal_header { height: 2.2rem;}\r\n.cui_cal_header .cm-header .cm-header-icon,.cui_cal_header .cm-header .cm-header-btn { color: #4289ff;padding: 0 1rem 0 0.5rem }\r\n.cui_cal_header .cm-header .cm-header-icon:active { background-color: transparent; }\r\n.cui_cal_header .cm-header {height: 2.25rem;margin-top: -1px; position: relative;z-index: 2; transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); background-color: #f5f5f5; color: #333;}\r\n.cui_cal_header .cm-header .cm-page-title {top: 50%;transform: translateY(-50%);}\r\n/*.cui_cal_header h1 { padding-right: 3rem; }*/\r\n\r\n.isapp-ios-full .cui_cal_header .cm-header {padding-top: 0}\r\n/*---------------\u65e5\u5386---------------*/\r\n/*Star \u51cc\u6668\u5f00\u5173*/\r\n.calendar-weehours { padding: 0.5rem 1rem; color: #333; font-size: 0.6rem;position: relative;z-index: 2;background-color: #fff }\r\n.calendar-weehours .wh-tab { background-color: #fff; color: #4289ff; border-radius: 0.15rem; border: 1px solid #4289ff; padding: 1px; margin-left: 0.5rem; display: inline-block; vertical-align: middle; }\r\n.calendar-weehours .wh-tab em { padding: 0 0.6rem; line-height: 1.35rem; float: left; border-radius: 0.15rem; }\r\n.calendar-weehours .wh-tab em.current { background-color: #4289ff; color: #fff; }\r\n.calendar-weekday { border-style: solid; border-color: #ddd; border-image: url() 2 stretch; -webkit-border-image: url() 2 stretch; }\r\n.calendar-daypast { color: #cfcfcf !important }\r\n.calendar-holiday { color: #4289ff; }\r\n.calendar-weekday { height: 1.25rem; background: #f5f5f5; border-width: 0 0 1px; overflow: hidden;position: relative;z-index: 2 }\r\n.calendar-weekday li { width: 14.28%; float: left; text-align: center; padding: 0.15rem 0; }\r\n.calendar-weekday li:nth-of-type(7n), .calendar-weekday li:nth-of-type(7n+1)/*,.calendar-grid li:nth-of-type(7n),.calendar-grid li:nth-of-type(7n+1)*/{ color: #4289ff; }\r\n.calendar-body { background-color: #fff; }\r\n.calendar-body .calendar-day-checkin { position: absolute; width: 200%; left: -50%; top: -2rem; background: rgba(0, 0, 0, .7); border-radius: 5px; padding: 0.35rem 0; }\r\n.calendar-body .calendar-day-checkin:after { position: absolute;bottom:-0.25rem;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);content: "";width: 0;height: 0;border-width:0.25rem 0.25rem 0 0.25rem;border-style: solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;}\r\n.calendar-body .calendar-grid li:nth-of-type(7n) .calendar-day-checkin {left:auto;right:0;}\r\n.calendar-body .calendar-grid li:nth-of-type(7n+1) .calendar-day-checkin {left:0;}\r\n.calendar-body .calendar-month { height: 2rem; line-height: 2.2rem; text-align: center; font-weight: 300; font-size: 0.8rem;clear: both; }\r\n.calendar-body .calendar-grid {clear: both; }\r\n.calendar-body .calendar-grid li { width: 14.28%; height: 2rem; padding: 0.2rem 0; font-weight: 400; font-size: 0.7rem; float: left; text-align: center; position: relative; }\r\n.calendar-body .calendar-grid .calendar-note { font-size: 0.55rem }\r\n.calendar-body .calendar-grid .calendar-holiday-h, .calendar-body .calendar-grid .calendar-holiday-w { border-width: 1px; border-style: solid; height: 0.65rem; width: 0.65rem; line-height: 0.7rem; background: #fff; font-size: 0.45rem; position: absolute; right: 0; top: 0; text-align: center; }\r\n.calendar-body .calendar-grid .calendar-holiday-h { color: #4289ff; }\r\n.calendar-body .calendar-grid .calendar-holiday-w { color: #666; }\r\n.calendar-body .calendar-grid li.calendar-current { background: #4289ff; color: #fff }\r\n.calendar-body .calendar-grid li.calendar-range { background: #EBF4FA; }\r\n.calendar-body .calendar-grid .calendar-current .calendar-holiday-w { color: #4289ff; }\r\n.calendar-body .calendar-grid .calendar-current .calendar-holiday-h { color: #4289ff; }\r\n.calendar-toast { width: 8.25rem; padding: 0.5rem; border-radius: 0.25rem; background: rgba(0, 0, 0, .7); color: #fff; text-align: center; position: fixed; left: 50%; -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); bottom: 4.25rem; }\r\n.animated80 {-webkit-animation-duration: 80ms;animation-duration: 80ms;-webkit-animation-fill-mode: both;animation-fill-mode: both;} </style> <div class="cui_inoutday_calendar animated fadeInUp js_inoutday_calendar" style="padding-top:0;padding-bottom:3.5rem; background: #fff;"> <div class="cui_cal_header"> <div class="cm-header"> <span class="cm-header-icon fl js_cal_back">\u53d6\u6d88</span> <%if(showMorningSwitch){%> <span class="cm-header-btn fr js_cal_ok">\u5b8c\u6210</span> <%}%> <h1 class="cm-page-title"> <span class="cm-title-l">\u9009\u62e9\u65e5\u671f</span> <%if (isOversea) { %><span class="cm-title-s">\u60a8\u9009\u7684\u662f\u9152\u5e97\u5f53\u5730\u65e5\u671f</span><%}%> </h1> </div> </div> <div class="g-calendar"> <div class="<%=exTopBarWrapperClass%> <%=atTimeClass%>"> <%if(showMorningSwitch){\r\n      var beforSex = "";\r\n      var afterSex ="current";\r\n      if(isMorning){\r\n      beforSex = "current";\r\n      afterSex = "";\r\n      }\r\n\r\n      %> <div class="calendar-weehours"> <b>\u5230\u5e97\u65f6\u95f4</b> <span class="wh-tab"> <em class="<%=beforSex%>" data-ismoring="1">\u4eca\u6668\u516d\u70b9\u524d</em> <em class="<%=afterSex%>" data-ismoring="0">\u4eca\u6668\u516d\u70b9\u540e</em> </span> </div> <%}%> <div class="cui_selcalendartype"></div> <%if(exTopBarWrapperClass){%> <div class="js_top_bar"><%=miniUI.topBar.html%></div> <%}%> <ul class="calendar-weekday"> <%\r\n        var i = 0, day1 = 0;\r\n        for(day1 = 0; day1 < 7; day1++) {\r\n        %> <li><%=weekDayArr[day1] %></li> <%} %> </ul> </div> <div> <div> <section class="calendar-body"> <%\r\n      var changedYear;\r\n      %> <%for(var j = 0; j < displayMonthNum; j++) {\r\n      var changedMonth = month + j;\r\n      var yyy          =  parseInt(( month + j ) / 12);\r\n      if(changedMonth > 11) {\r\n      changedMonth = changedMonth - 12 * yyy;\r\n      };\r\n      changedYear   = year + yyy;\r\n      var d         = new Date(changedYear, changedMonth);\r\n      var days      = $.getDaysOfMonth(d);\r\n      var str_month = MonthClapFn(changedYear, changedMonth);\r\n      %> <%if(str_month.length > 0 ) { %> <h2 class="calendar-month"><%=str_month %></h2> <% } %> <ul class="calendar-grid"> <%\r\n        var sday = (new Date(changedYear, changedMonth, 1)).getDay();\r\n        while(sday>0){\r\n        %> <li></li> <%\r\n        sday--;\r\n        }\r\n\r\n        for(i = 0; i < days; i++) {\r\n        var day             = i + 1;\r\n        var dateObj         = new Date(changedYear, changedMonth, day);\r\n        var str_date        = changedYear.toString() + \'-\' + changedMonth.toString() + \'-\' + day.toString();\r\n\r\n        var itemInfo        = dayItemFn.call(scope,dateObj);\r\n        var innerHtml       = itemInfo.innerHtml;\r\n        var parentDOMClass  = itemInfo.parentDOMClass;\r\n\r\n        %> <li class="js_calendar_item cui_calendar_item <%=parentDOMClass%>" data-date="<%=str_date%>"> <%=innerHtml%> </li> <% } %> </ul> <%} %> </section> </div> </div> </div> <%if(miniUI && miniUI.layer && miniUI.layer.visible){%> <div class="calendar-day-checkin js_day_toast" style="display:none"> <div><%=curtext%></div> </div> <%}%> <%if(showNav){%> <div class="cm-calendar-ft"> <ul class="cm-calendar-quick-nav"> <%if(footNavDate){\r\n      var count = 0;\r\n      for(var i in footNavDate){\r\n      if(count === 0){%> <li class="active w_date_nav_click" data-date="<%=footNavDate[i]%>"><%=i%></li> <%}else{%> <li class="w_date_nav_click" data-date="<%=footNavDate[i]%>"><%=i%></li> <%}\r\n      count++;\r\n      }%> <%}%> </ul> </div> <%}%> </div> '
        }, aUNp: function (t, e, i) {
            "use strict";
            Object.defineProperty(e, "__esModule", {value: !0});
            var a = i("TToO"), o = i("8DyH"), n = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.momentum = !1, this.autoPlay = !1, this.timerSrc = null, this.delaySec = 3e3, this.playTime = 500, this.sliderNav = null, this.displayNum = 1, this.needLoop = !0, this.isPreventPullDown = !1
                }, e.prototype.play = function () {
                    this.autoPlay && (this.stop(), this.timerSrc = setInterval($.proxy(function () {
                        var t = this.datamodel.index;
                        if (t += 1, this.needLoop) t > this.itemNum && (t = 0); else if (parseInt(t, 10) === parseInt(this.itemNum, 10)) return void(this.autoPlay = !1);
                        this.setIndex(t, null, null, this.playTime)
                    }, this), this.delaySec))
                }, e.prototype.stop = function (t) {
                    t && this.isPreventPullDown && t.stopImmediatePropagation(), this.timerSrc && (clearInterval(this.timerSrc), this.timerSrc = null)
                }, e.prototype.createNav = function () {
                    if (!this.sliderNav) {
                        for (var t = '<div class="cui-navContainer" style="color: rgb(20, 145, 197); position: absolute;">', e = 0; e < this.itemNum; e++) t += '<span class="cui-slide-nav-item" data-index="' + e + '"></span>';
                        t += "</div>", this.sliderNav = $(t), this.$el.append(this.sliderNav), this._setNavPos(), this.sliderNav.css("z-index", "500"), this._setNavIndex(this.datamodel.index)
                    }
                }, e.prototype.resizeRefresh = function () {
                    t.prototype.resizeRefresh.call(this), this._setNavPos()
                }, e.prototype._setNavPos = function () {
                    var t = (parseInt(this.wrapper.width(), 10) - 10 * this.itemNum * 2) / 2;
                    this.sliderNav && this.sliderNav.css({left: t, bottom: "10px"})
                }, e.prototype._addTouchEvent = function () {
                    function t(t) {
                        i.stop(t)
                    }

                    function e(t) {
                        i.play(t)
                    }

                    var i = this;
                    this._removeTouchEvent(), this.$el.on("touchstart.imageslidertouchmove" + this.id, t), this.$el.on("touchmove.imageslidertouchmove" + this.id, t), this.$el.on("touchend.imageslidertouchmove" + this.id, e), this.$el.on("mousedown.imageslidertouchmove" + this.id, t), this.$el.on("mousemove.imageslidertouchmove" + this.id, t), this.$el.on("mouseup.imageslidertouchmove" + this.id, e)
                }, e.prototype._removeTouchEvent = function () {
                    this.$el.off(".imageslidertouchmove" + this.id)
                }, e.prototype._setNavIndex = function (t) {
                    this.$(".cui-navContainer").find("span").removeClass("cui-slide-nav-item-current"), this.$(".cui-navContainer").find('span[data-index="' + t + '"]').addClass("cui-slide-nav-item-current")
                }, e.prototype.changedAction = function () {
                    this._setNavIndex(this.datamodel.index)
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this), this.on("onRefresh", function () {
                        this.sliderNav = null, this.createNav()
                    }), this.on("onCreate", function () {
                        this.$el.addClass("cm-slide--full-img")
                    }), this.on("onShow", function () {
                        this.createNav(), this.play(), this._addTouchEvent()
                    }), this.on("onHide", function () {
                        this.stop(), this._removeTouchEvent()
                    })
                }, e
            }(o.a);
            e.default = n
        }, acXV: function (t, e) {
        }, aoYE: function (t, e) {
        }, "b+im": function (t, e, i) {
            "use strict";

            function a(t) {
                var e = document.createElement("div"), i = document.createElement("div");
                return e.style.cssText = "position:absolute;z-index:9999", i.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px", "y" === t ? (e.style.cssText += ";height:7px;left:2px;right:2px;bottom:0", i.style.height = "100%") : (e.style.cssText += ";width:7px;bottom:2px;top:2px;right:1px", i.style.width = "100%"), e.style.cssText += ";overflow:hidden", e.appendChild(i), e
            }

            function o(t, e) {
                this.wrapper = "string" == typeof e.el ? document.querySelector(e.el) : e.el, this.indicator = this.wrapper.children[0], this.scrollType = e.scrollType, this.wrapperStyle = this.wrapper.style, this.indicatorStyle = this.indicator.style, this.scroller = t, this.sizeRatioX = 1, this.sizeRatioY = 1, this.maxPosX = 0, this.maxPosY = 0, this.wrapperStyle[c.style.transform] = this.scroller.translateZ, this.wrapperStyle[c.style.transitionDuration] = "0ms", this.wrapperStyle.opacity = "0"
            }

            var n = i("hz+3"), s = i.n(n), r = i("YqDm"), l = i.n(r), c = function () {
                function t(t) {
                    return !1 !== a && ("" === a ? t : a + t.charAt(0).toUpperCase() + t.substr(1))
                }

                var e = {}, i = document.createElement("div").style, a = function () {
                    for (var t = ["t", "webkitT", "MozT", "msT", "OT"], e = 0, a = t.length; e < a; e++) if (t[e] + "ransform" in i) return t[e].substr(0, t[e].length - 1);
                    return !1
                }();
                return e.getTime = Date.now || function () {
                    return (new Date).getTime()
                }, e.addEvent = function (t, e, i, a) {
                    t[0] && t !== window.top && (t = t[0]), t.addEventListener(e, i, !!a)
                }, e.removeEvent = function (t, e, i, a) {
                    t[0] && t !== window.top && (t = t[0]), t.removeEventListener(e, i, !!a)
                }, e.momentum = function (t, e, i, a, o, n) {
                    var s, r, l = t - e, c = Math.abs(l) / i;
                    return n = n || 0, s = t + c * c / .0012 * (l < 0 ? -1 : 1), r = c / 6e-4, s < a ? (s = o ? a - o / 2.5 * (c / 8) : a, l = Math.abs(s - t), r = l / c) : s > 0 + n && (s = o ? o / 2.5 * (c / 8) + n : 0, l = Math.abs(t) + s, r = l / c), {
                        destination: Math.round(s),
                        duration: r
                    }
                }, $.extend(e, {hasTouch: "ontouchstart" in window}), $.extend(e.style = {}, {
                    transform: t("transform"),
                    transitionTimingFunction: t("transitionTimingFunction"),
                    transitionDuration: t("transitionDuration"),
                    transitionDelay: t("transitionDelay"),
                    transformOrigin: t("transformOrigin")
                }), $.extend(e.eventType = {}, {
                    touchstart: 1,
                    touchmove: 1,
                    touchend: 1,
                    mousedown: 2,
                    mousemove: 2,
                    mouseup: 2
                }), $.extend(e.ease = {}, {
                    quadratic: {
                        style: "cubic-bezier(0.25, 0.46, 0.45, 0.94)", fn: function (t) {
                            return t * (2 - t)
                        }
                    }, circular: {
                        style: "cubic-bezier(0.1, 0.57, 0.1, 1)", fn: function (t) {
                            return t -= 1, Math.sqrt(1 - t * t)
                        }
                    }, back: {
                        style: "cubic-bezier(0.175, 0.885, 0.32, 1.275)", fn: function (t) {
                            return (t -= 1) * t * (5 * t + 4) + 1
                        }
                    }, bounce: {
                        style: "", fn: function (t) {
                            return t /= 1, t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375
                        }
                    }, elastic: {
                        style: "", fn: function (t) {
                            return 0 === t ? 0 : 1 === t ? 1 : .4 * Math.pow(2, -10 * t) * Math.sin((t - .22) / 4 * (2 * Math.PI) / .22) + 1
                        }
                    }
                }), e
            }();
            o.prototype = {
                transitionTime: function (t) {
                    t = t || 0, this.indicatorStyle[c.style.transitionDuration] = t + "ms"
                }, transitionTimingFunction: function (t) {
                    this.indicatorStyle[c.style.transitionTimingFunction] = t
                }, refresh: function () {
                    if (this.transitionTime(), "y" === this.scrollType) {
                        this.wrapperHeight = this.wrapper.clientHeight;
                        var t = this.scroller.scrollerHeight || this.wrapperHeight || 1,
                            e = this.wrapperHeight * this.wrapperHeight / t;
                        this.indicatorHeight = Math.max(Math.round(e), 8), this.indicatorStyle.height = this.indicatorHeight + "px", this.maxPosY = this.wrapperHeight - this.indicatorHeight, this.sizeRatioY = this.scroller.maxScrollY && this.maxPosY / this.scroller.maxScrollY
                    } else this.wrapperWidth = this.wrapper.clientWidth, this.indicatorWidth = Math.max(Math.round(this.wrapperWidth * this.wrapperWidth / (this.scroller.scrollerWidth || this.wrapperWidth || 1)), 8), this.indicatorStyle.width = this.indicatorWidth + "px", this.maxPosX = this.wrapperWidth - this.indicatorWidth, this.sizeRatioX = this.scroller.maxScrollX && this.maxPosX / this.scroller.maxScrollX;
                    this.updatePosition()
                }, destroy: function () {
                    $(this.wrapper).remove()
                }, updatePosition: function () {
                    var t = "x" === this.scrollType && Math.round(this.sizeRatioX * this.scroller.x) || 0,
                        e = "y" === this.scrollType && Math.round(this.sizeRatioY * this.scroller.y) || 0;
                    this.x = t, this.y = e, this.indicatorStyle[c.style.transform] = "translate(" + t + "px," + e + "px)" + this.scroller.translateZ
                }, fade: function (t, e) {
                    if (!e || this.visible) {
                        var i = this;
                        clearTimeout(this.fadeTimeout), this.fadeTimeout = null;
                        var a = t ? 250 : 500, o = t ? 0 : 300;
                        t = t ? "1" : "0", this.wrapperStyle[c.style.transitionDuration] = a + "ms", this.fadeTimeout = setTimeout(function (t) {
                            i.wrapperStyle.opacity = t, i.visible = +t
                        }(t), o)
                    }
                }
            };
            var d = function () {
                function t(t) {
                    var e = this;
                    if (this.wrapper = "string" == typeof t.wrapper ? $(t.wrapper) : t.wrapper, this.scroller = "string" == typeof t.scroller ? $(t.scroller) : t.scroller, !t.wrapper[0] || !t.scroller[0]) throw new Error("param error");
                    this.swrapper = this.wrapper, this.wrapper = this.wrapper[0], this.scroller = this.scroller[0], this.scrollerStyle = this.scroller.style, this.options = {
                        step: !1,
                        scrollbars: !0,
                        startY: 0,
                        preventDefault: !1,
                        scrollOffset: 0,
                        scrollType: "y",
                        bounceTime: 400,
                        bounceEasing: c.ease.circular,
                        bounce: !0,
                        momentum: !0,
                        bindToWrapper: !0,
                        resizePolling: 60,
                        startX: 0
                    }, Object.keys(t || {}).forEach(function (i) {
                        ({}).hasOwnProperty.call(t, i) && (e.options[i] = t[i])
                    }), this.translateZ = " translateZ(0)", this.x = 0, this.y = 0, this._events = {}, this.dir = "forward", this._init(), this.refresh(), this.scrollTo(this.options.startX, this.options.startY), this.enable()
                }

                return t.prototype._init = function () {
                    this._initEvents(), this.options.scrollbars && this._initIndicator()
                }, t.prototype.refresh = function () {
                    this.wrapperWidth = this.wrapper.clientWidth, this.scrollerWidth = this.scroller.offsetWidth, this.maxScrollX = this.wrapperWidth - this.scrollerWidth, this.wrapperHeight = this.wrapper.clientHeight, this.scrollerHeight = this.scroller.offsetHeight, this.maxScrollY = this.wrapperHeight - this.scrollerHeight, this.maxScrollX = this.maxScrollX - this.options.scrollOffset, this.maxScrollY = this.maxScrollY - this.options.scrollOffset, "y" === this.options.scrollType ? (this.maxScrollX = 0, 0 === this.options.scrollOffset && (this.maxScrollY = Math.min(this.maxScrollY, 0))) : (this.maxScrollY = 0, 0 === this.options.scrollOffset && (this.maxScrollX = Math.min(this.maxScrollX, 0))), this.endTime = 0, this._execEvent("refresh"), this.resetPosition()
                }, t.prototype._initEvents = function (t) {
                    var e = t ? c.removeEvent : c.addEvent, i = this.options.bindToWrapper ? this.wrapper : window;
                    e(window, "orientationchange", this), e(window, "resize", this), c.hasTouch ? (e(this.wrapper, "touchstart", this), e(i, "touchmove", this), e(i, "touchcancel", this), e(i, "touchend", this)) : (e(this.wrapper, "mousedown", this), e(i, "mousemove", this), e(i, "mousecancel", this), e(i, "mouseup", this)), e(this.scroller, "transitionend", this), e(this.scroller, "webkitTransitionEnd", this), e(this.scroller, "oTransitionEnd", this), e(this.scroller, "MSTransitionEnd", this)
                }, t.prototype._start = function (t) {
                    if (this.enabled && (!this.initiated || c.eventType[t.type] === this.initiated)) {
                        var e, i = t.touches ? t.touches[0] : t;
                        if (this.initiated = c.eventType[t.type], this.moved = !1, this.distY = 0, this._transitionTime(), this.startTime = c.getTime(), this.isInTransition) {
                            this.isInTransition = !1, e = this.getComputedPosition();
                            var a = Math.round(e.x), o = Math.round(e.y);
                            this._translate(a, o), this._execEvent("scrollEnd")
                        }
                        this.startX = this.x, this.startY = this.y, this.absStartX = this.x, this.absStartY = this.y, this.pointX = i.pageX, this.pointY = i.pageY, this._execEvent("beforeScrollStart"), this.options.preventDefault && t.preventDefault()
                    }
                }, t.prototype._move = function (t) {
                    if (this.enabled && c.eventType[t.type] === this.initiated) {
                        var e, i, a = t.touches ? t.touches[0] : t, o = a.pageX - this.pointX,
                            n = a.pageY - this.pointY, s = c.getTime();
                        if (!("x" === this.options.scrollType && Math.abs(n) > Math.abs(o))) {
                            var r, l = this.x, d = this.y, h = this.x + o, p = this.y + n,
                                u = Math.abs(o) >= Math.abs(n);
                            r = u ? l - h > 0 ? "left" : "right" : d - p > 0 ? "up" : "down", this.pointX = a.pageX, this.pointY = a.pageY, this.distX += o, this.distY += n;
                            var m = Math.abs(this.distX), f = Math.abs(this.distY);
                            if (!(s - this.endTime > 300 && m < 10 && f < 10)) {
                                "y" === this.options.scrollType ? o = 0 : n = 0, this.flipDir = r, e = this.x + o, i = this.y + n, (e > this.options.scrollOffset || e < this.maxScrollX) && (e = this.options.bounce ? this.x + o / 3 : e > this.options.scrollOffset ? this.options.scrollOffset : this.maxScrollX), (i > this.options.scrollOffset || i < this.maxScrollY) && (i = this.options.bounce ? this.y + n / 3 : i > this.options.scrollOffset ? this.options.scrollOffset : this.maxScrollY), this.moved || this._execEvent("scrollStart"), this.moved = !0;
                                var _ = document.activeElement;
                                if ("input" === _.nodeName.toLowerCase()) return _.blur(), this.disable(), void setTimeout($.proxy(function () {
                                    this.enable()
                                }, this), 250);
                                e > this.x || i > this.y ? this.dir = "forward" : this.dir = "back", this._translate(e, i, !0), t.preventDefault()
                            }
                        }
                    }
                }, t.prototype._end = function (t) {
                    if (this.enabled && c.eventType[t.type] === this.initiated) {
                        var e, i, a = c.getTime() - this.startTime, o = Math.round(this.x), n = Math.round(this.y),
                            s = Math.abs(o - this.startX), r = Math.abs(n - this.startY), l = 0, d = "";
                        if (this.isInTransition = 0, this.initiated = 0, this.endTime = c.getTime(), !this.resetPosition(this.options.bounceTime)) {
                            if (this.scrollTo(o, n), !this.moved) return void this._execEvent("scrollCancel");
                            if (this.options.momentum && a < 300 && (e = c.momentum(this.x, this.startX, a, this.maxScrollX, this.options.bounce ? this.wrapperWidth : 0, this.options.scrollOffset), i = c.momentum(this.y, this.startY, a, this.maxScrollY, this.options.bounce ? this.wrapperHeight : 0, this.options.scrollOffset), o = e.destination, n = i.destination, l = "y" === this.options.scrollType ? Math.max(0, i.duration) : Math.max(e.duration, 0), this.isInTransition = 1), s = Math.abs(o - this.startX), r = Math.abs(n - this.startY), this.options.step) {
                                var h = o, p = n, u = Math.abs(h), m = Math.abs(p), f = h > 0 ? 1 : -1,
                                    _ = p > 0 ? 1 : -1, g = this.options.step - s % this.options.step,
                                    v = this.options.step - r % this.options.step;
                                Math.abs(v - this.options.step) < 10 && (v = 0), "forward" === this.dir ? (h = h > 0 ? u + g : u - g, p = p > 0 ? m + v : m - v) : (h = h > 0 ? u - g : u + g, p = p > 0 ? m - v : m + v), h % this.options.step != 0 && (h = Math.round(h / this.options.step) * this.options.step), p % this.options.step != 0 && (p = Math.round(p / this.options.step) * this.options.step), h *= f, p *= _, l = this.options.stepTime || 200, ("x" === this.options.scrollType && s < 50 || "y" === this.options.scrollType && r < 50) && (l = 100), o = h, n = p, d = this.options.bounceEasing
                            }
                            if (o !== this.x || n !== this.y) return (o > this.options.scrollOffset || o < this.maxScrollX || n > this.options.scrollOffset || n < this.maxScrollY) && (d = c.ease.quadratic), "0" === l && (l = 1), void this.scrollTo(o, n, l, d);
                            this._execEvent("scrollEnd")
                        }
                    }
                }, t.prototype._resize = function () {
                    var t = this;
                    clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(function () {
                        t.refresh()
                    }, this.options.resizePolling)
                }, t.prototype._transitionTimingFunction = function (t) {
                    this.scrollerStyle[c.style.transitionTimingFunction] = t, this.indicator && this.indicator.transitionTimingFunction(t)
                }, t.prototype._transitionTime = function (t) {
                    t = t || 0, this.scrollerStyle[c.style.transitionDuration] = t + "ms", this.indicator && this.indicator.transitionTime(t)
                }, t.prototype.getComputedPosition = function () {
                    var t = window.getComputedStyle(this.scroller, null);
                    return t = t[c.style.transform].split(")")[0].split(", "), {
                        x: +(t[12] || t[4]),
                        y: +(t[13] || t[5])
                    }
                }, t.prototype._initIndicator = function () {
                    var t = a("y" === this.options.scrollType ? "x" : "y");
                    this.wrapper.appendChild(t), this.indicator = new o(this, {
                        el: t,
                        scrollType: this.options.scrollType
                    }), this.on("scrollEnd", function () {
                        this.indicator.fade()
                    });
                    var e = this;
                    this.on("scrollCancel", function () {
                        e.indicator.fade()
                    }), this.on("scrollStart", function () {
                        e.indicator.fade(1)
                    }), this.on("beforeScrollStart", function () {
                        e.indicator.fade(1, !0)
                    }), this.on("refresh", function () {
                        e.indicator.refresh()
                    })
                }, t.prototype._translate = function (t, e) {
                    "y" === this.options.scrollType ? t = 0 : e = 0, this.scrollerStyle[c.style.transform] = "translate(" + t + "px," + e + "px)" + this.translateZ, this.x = t, this.y = e, this.options.scrollbars && this.indicator.updatePosition()
                }, t.prototype.resetPosition = function (t) {
                    var e = this.x, i = this.y;
                    return t = t || 0, "x" === this.options.scrollType ? this.x >= this.options.scrollOffset ? e = this.options.scrollOffset : this.x < this.maxScrollX && (e = this.maxScrollX) : this.y >= this.options.scrollOffset ? i = this.options.scrollOffset : this.y < this.maxScrollY && (i = this.maxScrollY), !("x" === this.options.scrollType && e === this.x || "y" === this.options.scrollType && i === this.y) && (this.scrollTo(e, i, t, this.options.bounceEasing), !0)
                }, t.prototype.scrollTo = function (t, e, i, a) {
                    a = a || c.ease.circular, this.isInTransition = i > 0, i && !a.style || (this._transitionTimingFunction(a.style), this._transitionTime(i), this._translate(t, e))
                }, t.prototype.disable = function () {
                    this.enabled = !1
                }, t.prototype.enable = function () {
                    this.enabled = !0
                }, t.prototype.on = function (t, e) {
                    this._events[t] || (this._events[t] = []), this._events[t].push(e)
                }, t.prototype.off = function (t, e) {
                    s()(e) ? this._events[t] = [] : this._events[t] = l()(this._events[t], function (t) {
                        return t === e
                    })
                }, t.prototype._execEvent = function (t) {
                    if (this._events[t]) {
                        var e = 0, i = this._events[t].length;
                        if (i) for (; e < i; e++) this._events[t][e].call(this)
                    }
                }, t.prototype.destroy = function () {
                    this.TIMERRES && clearInterval(this.TIMERRES), this._initEvents(!0), this._execEvent("destroy"), this.indicator && this.indicator.destroy()
                }, t.prototype._transitionEnd = function (t) {
                    t.target === this.scroller && this.isInTransition && (this._transitionTime(), this._execEvent("animatEnd"), this.resetPosition(this.options.bounceTime) || (this.isInTransition = !1, this._execEvent("scrollEnd")))
                }, t.prototype.handleEvent = function (t) {
                    switch (t.type) {
                        case"touchstart":
                        case"mousedown":
                            this._start(t);
                            break;
                        case"touchmove":
                        case"mousemove":
                            this._move(t);
                            break;
                        case"touchend":
                        case"mouseup":
                        case"touchcancel":
                        case"mousecancel":
                            this._end(t);
                            break;
                        case"orientationchange":
                        case"resize":
                            this._resize();
                            break;
                        case"transitionend":
                        case"webkitTransitionEnd":
                        case"oTransitionEnd":
                        case"MSTransitionEnd":
                            this._transitionEnd(t)
                    }
                }, t
            }();
            d.utils = c, e.a = d
        }, b8sG: function (t, e, i) {
            "use strict";

            function a(t, e) {
                var i = [];
                if (t && t.length) for (var a = p()(t, function (t) {
                    return t.id
                }), o = 0, n = e.length; o < n; o++) !function (t, o) {
                    d()(a, function (i) {
                        return i.id === e[t].id
                    }) && i.push(e[t].txt)
                }(o);
                return i.sort(function (t, e) {
                    return "\u4f18\u60e0\u5238" === t && "\u4f18\u60e0\u5238" !== e ? -1 : 1
                }), i
            }

            function o(t) {
                if (t && t.headtags && t.headtags.length) {
                    return !!d()(t.headtags, function (t) {
                        return 10304 === t.id
                    })
                }
                return !1
            }

            var n = i("2247"), s = i.n(n), r = i("9uKM"), l = i.n(r), c = i("kbi+"), d = i.n(c), h = i("VXg5"),
                p = i.n(h), u = i("KBYM"), m = i.n(u), f = i("p3b7"), _ = i.n(f), g = i("RyI1"), v = i.n(g),
                y = i("PllI"), b = i("PWlk"), D = i.n(b), w = function () {
                    function t(t) {
                        this.rooms = t.rooms, this.filterobj = t.filter, this.wrapper = t.wrapper, this.isoversea = t.isoversea, this.isShowAveragedTips = t.isShowAveragedTips || !1, this.cur = t.cur, this.roomListTilling = t.roomListTilling, this.hotelRoomPicSize = t.hotelRoomPicSize, this.subRoomInfoRefactor = t.subRoomInfoRefactor, this.isModify = t.isModify, this.selectedRoomId = t.selectedRoomId, this.selectedShadowId = t.selectedShadowId;
                        var e = s()(t.broomTagOrders || [], function (t) {
                            var e = t.split("|");
                            return {id: parseInt(e[0], 10), txt: e[1]}
                        });
                        this.broomTagOrders = e
                    }

                    return t.prototype.filter = function () {
                        var t = this, e = [], i = this;
                        if (this.filterobj && this.rooms && this.rooms.length) {
                            var a = Object.keys(this.filterobj), o = a.length;
                            this.rooms.forEach(function (n) {
                                for (var s = !0, r = 0; r < o; r++) {
                                    var l = a[r], c = t.filterobj[l];
                                    if (c && c.length) if ("pricerangedf" === l) s = i.withinPriceRange(c[0].key, n.priceInfo && n.priceInfo.cnyPrice || 0); else if ("people" === l) {
                                        var h = c[0].opt;
                                        s = n.maxNum >= h
                                    } else if (c && c.length) {
                                        for (var p = 0; p < c.length; p++) {
                                            var u = function (t) {
                                                var e = c[t], i = "" === l ? e.ftype : l;
                                                if (!d()(n.roomfeatures, function (t) {
                                                    return t.ftype === i && ("pricerange" === t.ftype ? t.option === e.key : "service" === t.ftype && 2048 === e.key ? (t.option & e.key) === e.key && 2 === n.pay : (t.option & e.key) === e.key)
                                                })) return s = !1, "break"
                                            }(p);
                                            if ("break" === u) break
                                        }
                                        if (!s) break
                                    }
                                }
                                s && e.push(n)
                            })
                        } else e = this.rooms;
                        return this.filterRooms = e, e
                    }, t.prototype.getLowestPirceRoom = function () {
                        var t = null;
                        if (this.filterRooms && this.filterRooms.length > 0) {
                            var e = v()(this.filterRooms, function (t) {
                                return t && 1 === t.status && !t.isHourRoom
                            });
                            if (e && e.length > 0) {
                                var i = m()(e, [function (t) {
                                    return t.price
                                }]);
                                i && i.length > 0 && (t = i[0])
                            }
                        }
                        return t
                    }, t.prototype.withinPriceRange = function (t, e) {
                        if (e <= 0) return !1;
                        if (t && t.length > 0) {
                            var i = t.split("-");
                            if (i && i.length > 0) {
                                if (e < (parseInt(i[0]) || 0)) return !1;
                                if (i.length > 1) {
                                    if (e > (parseInt(i[1]) || 2147483647)) return !1
                                }
                            }
                        }
                        return !0
                    }, t.prototype.buildDataModel = function () {
                        var t = this, e = "B" != this.roomListTilling && this.rooms.length > 7, i = {
                            each: l.a,
                            canShowBaseRoom: e,
                            isShowAveragedTips: this.isShowAveragedTips,
                            isoversea: this.isoversea,
                            filterobj: this.filterobj,
                            baseRooms: [],
                            guessUFavRooms: [],
                            subRoomInfoRefactor: this.subRoomInfoRefactor
                        }, n = this.cur || "RMB", s = [], r = [];
                        return this.filterRooms && this.filterRooms.length && (l()(this.filterRooms, function (i) {
                            var a = t.selectedRoomId === i.id && t.selectedShadowId === "" + i.shadowId;
                            t.hotelRoomPicSize && (i.image.url = i.image.url.split("_130_130_").join("_190_150_"));
                            var l = {
                                isSelected: a,
                                name: i.name || "",
                                bname: i.bname || "",
                                roomimg: Object(y.b)(i.image) || "",
                                amount: i.imageCount || 0,
                                breakfast: i.breakfast || "",
                                bed: i.bed || "",
                                area: i.area || "",
                                max: i.max || "",
                                bid: i.bid,
                                floor: i.floor,
                                price: null,
                                button: {type: 1, val: ""},
                                holdRoomQuantity: i.hold,
                                cst: i.cst,
                                ckintval: i.ckintval,
                                id: i.id,
                                shadowid: i.shadowId,
                                headtags: i.headtags || [],
                                promotags: i.promotags || [],
                                servicetags: i.servicetags || [],
                                motivationtags: i.motivationtags || [],
                                mbid: i.mbid,
                                pay: i.pay,
                                status: i.status,
                                standardRoom: i.standardRoom,
                                roomClass: t.hotelRoomPicSize ? "room--space3" : "room--space",
                                guestImpression: i.guestImpression,
                                guestImpressionTitle: i.guestImpressionTitle,
                                canShowGuestImpression: i.canShowGuestImpression,
                                isHourRoom: i.isHourRoom
                            };
                            "today" === t.roomlistShowLeftroom && i.hold > 3 && (l.holdRoomQuantity = 0);
                            var c = null, h = null, p = o(i);
                            p && (h = r[0], h ? h.roomList.push(l) : (h = {roomList: [l]}, r[0] = h)), e ? (c = d()(s, function (t) {
                                return t.bid === i.bid
                            }), l.promotags.sort(function (t, e) {
                                return 10040 === t.id && 10040 !== e.id ? -1 : 1
                            }), c ? (c.roomList.push(l), c.guestImpression || (c.guestImpression = i.guestImpression, c.guestImpressionTitle = i.guestImpressionTitle)) : (c = {
                                bid: i.bid,
                                mbid: i.mbid,
                                baseRoomName: i.bname,
                                img: l.roomimg,
                                amount: l.amount,
                                bed: i.bed,
                                area: i.area,
                                roomList: [l],
                                fullHouse: !0,
                                tags: [],
                                floor: i.floor,
                                roomClass: t.hotelRoomPicSize ? "room--space3" : "room--space",
                                guestImpression: i.guestImpression,
                                guestImpressionTitle: i.guestImpressionTitle
                            }, t.hotelRoomPicSize && (c.img = c.img.split("_130_130_").join("_190_150_")), s.push(c)), c.tags = [].concat.call(c.tags, i.headtags, i.promotags, i.servicetags, i.motivationtags), c.isHasCashback || (c.isHasCashback = i.hasCashback)) : p || (c = s[0], c ? c.roomList.push(l) : (c = {roomList: [l]}, s[0] = c)), 3 === i.status ? l.button = {
                                type: 2,
                                val: "\u8ba2\u5b8c"
                            } : 2 === i.status ? l.button = {
                                type: 2,
                                val: void 0 !== t.isModify && t.isModify ? a ? "\u5df2\u9009" : "\u9009\u62e9" : "\u9884\u8ba2"
                            } : (c && (c.fullHouse = !1), p && h && (h.fullHouse = !1), l.button = {
                                type: 1,
                                val: void 0 !== t.isModify && t.isModify ? a ? "\u5df2\u9009" : "\u9009\u62e9" : "\u9884\u8ba2"
                            }), "RMB" === n ? (l.price = i.priceInfo.cnyPrice, l.tax = i.priceInfo.cnyTax, i.priceInfo.cnyOrgPrice && (l.oriprice = i.priceInfo.cnyOrgPrice)) : (l.price = i.priceInfo.localPrice, l.tax = i.priceInfo.localTax, i.priceInfo.localOrgPrice && (l.oriprice = i.priceInfo.localOrgPrice)), l.discountString = i.priceInfo.discountString, 1 === i.status && (c && (c.price ? c.price > l.price && (c.price = l.price) : c.price = l.price), p && h && (h.price ? h.price > l.price && (h.price = l.price) : h.price = l.price))
                        }), e && (l()(s, function (e) {
                            e.tags = a(e.tags, t.broomTagOrders);
                            for (var i = 1 / 0, o = 1 / 0, n = 0; n < e.roomList.length; n++) {
                                var s = e.roomList[n];
                                s.isHourRoom && (i = i > s.price ? s.price : i), !s.isHourRoom && (o = o > s.price ? s.price : o)
                            }
                            e.price = o == 1 / 0 ? i : o, e.roomList = m()(e.roomList, [function (t) {
                                return t.price
                            }]), e.roomList = m()(e.roomList, [function (t) {
                                return 1 == t.status ? 0 : 1
                            }]), e.roomList = m()(e.roomList, [function (t) {
                                return t.headtags.length < 1 ? 9999 : v()(t.headtags, function (t) {
                                    return 10302 === t.id
                                }).length < 1 ? 9999 : 0
                            }]), e.roomList = m()(e.roomList, [function (t) {
                                return t.isSelected ? 0 : 1
                            }])
                        }), s = m()(s, [function (t) {
                            return t.price
                        }]), s = m()(s, [function (t) {
                            return t.fullHouse ? 1 : 0
                        }]))), i.baseRooms = s, i.guessUFavRooms = r, "RMB" === this.cur ? i.cur = "\uffe5" : i.cur = this.cur, i
                    }, t.prototype.render = function () {
                        var t = this.buildDataModel();
                        this.wrapper.html(_()(D.a)(t))
                    }, t
                }();
            e.a = w
        }, bDxv: function (t, e, i) {
            "use strict";
            Object.defineProperty(e, "__esModule", {value: !0});
            var a = i("w9Mt"), o = i.n(a), n = i("csBb"), s = i("tlCT"), r = i("X77X"), l = i("X+u6"), c = i("nRI/"),
                d = function () {
                    function t() {
                    }

                    return t.show = function (t, e, i) {
                        var a = $(e.currentTarget), d = a.data("roomid"), h = a.data("shadowid") || 0, p = t;
                        p.roomlistinfo && (p.isoversea = p.roomlistinfo.isOversea);
                        var u = p.roomlistinfo && p.roomlistinfo.rooms || [], m = p.roomsExt, f = Object(l.a)(p, d, h),
                            _ = Object(r.c)({
                                isGray: i,
                                roomid: d,
                                shadowid: h,
                                isSelected: p.selectedRoomId === d && p.selectedShadowId === "" + h,
                                roomsData: u,
                                roomsExt: m,
                                isModify: p.isModify,
                                scopedPageData: o()(p, ["hotelid", "hotelname", "cityid", "region", "isoversea", "days", "fr", "inday", "outday", "num", "comefrom", "contrl", "isMorning", "pricetype", "daylater"])
                            });
                        if (!_) return null;
                        var i = i || !1, g = Object(s.c)(_), v = new n.a({
                            needAnimat: !1,
                            scrollOpts: {scrollbars: !0, bounce: !0},
                            datamodel: {
                                title: g.title,
                                ttype: _.images.length && !i ? "mask" : "gray",
                                body: g.body,
                                footer: g.footer,
                                viewModel: _
                            },
                            events: {
                                "click .js_goto_commentlist": "goToCommentList",
                                "click .js_toggle_trigger": "toggleFacBox",
                                "click .js_btn_book": f,
                                "click .js_tag_expand_toggle": "toggleTagexpand",
                                "click .js_toggle_popb_note_expand": "toggleNoteExpand"
                            },
                            goToCommentList: function () {
                                Object(l.c)(this.datamodel.viewModel)
                            },
                            toggleFacBox: function () {
                                Object(l.d)(this)
                            },
                            onShow: function () {
                                var t = this;
                                if (c.a.subscribe("roomList.roomSelect", function (e) {
                                    var i = t.$(".js_btn_book");
                                    i.addClass("pay-way-disable"), i.text("\u5df2\u9009"), t.hide()
                                }), this._initWrapperSize(), _.images.length > 0) {
                                    Object(l.b)(this.$(".js_pop_slide_container"), _.images, function () {
                                        return v.scroll && v.scroll.scrollTo(0, 0)
                                    }).show(), this.refreshHeight()
                                }
                            },
                            toggleTagexpand: function () {
                                var t = this.$(".js_tag_pop_b_box");
                                t.find(".l-arr-up").length ? (t.find(".js_tag_desc").hide(), t.find(".js_tag_expand_toggle").html('\u5c55\u5f00&nbsp;<i class="l-arr-down"></i>')) : (t.find(".js_tag_desc").show(), t.find(".js_tag_expand_toggle").html('\u6536\u8d77&nbsp;<i class="l-arr-down l-arr-up"></i>')), this.refreshHeight()
                            },
                            toggleNoteExpand: function () {
                                var t = this.$(".js_note_pop_b_box");
                                t.find(".l-arr-up").length ? (t.find(".pop_b_tag_desc_ellipsis").show(), t.find(".pop_b_tag_desc_all").hide(), t.find(".js_toggle_popb_note_expand").html('<div class="l-color2 l-fn13 fr pr5">\u5c55\u5f00&nbsp;<i class="l-arr-down"></i></div>')) : (t.find(".pop_b_tag_desc_ellipsis").hide(), t.find(".pop_b_tag_desc_all").show(), t.find(".js_toggle_popb_note_expand").html('<div class="l-color2 l-fn13 fr pr5">\u6536\u8d77&nbsp;<i class="l-arr-down l-arr-up"></i></div>')), this.refreshHeight()
                            }
                        });
                        return v.show(), v
                    }, t
                }();
            e.default = d
        }, bGc4: function (t, e, i) {
            function a(t) {
                return null != t && n(t.length) && !o(t)
            }

            var o = i("gGqR"), n = i("Rh28");
            t.exports = a
        }, bJWQ: function (t, e, i) {
            function a(t) {
                var e = -1, i = null == t ? 0 : t.length;
                for (this.clear(); ++e < i;) {
                    var a = t[e];
                    this.set(a[0], a[1])
                }
            }

            var o = i("WxI4"), n = i("dFpP"), s = i("JBvZ"), r = i("2Hvv"), l = i("deUO");
            a.prototype.clear = o, a.prototype.delete = n, a.prototype.get = s, a.prototype.has = r, a.prototype.set = l, t.exports = a
        }, bV2p: function (t, e, i) {
            "use strict";
            var a = i("gGTa"), o = function () {
                function t() {
                    this.metrics = {}
                }

                return t.prototype.start = function (t) {
                    var e = new a.a(t);
                    this.metrics[t] = e, e.start()
                }, t.prototype.record = function (t, e, i) {
                    this.metrics[t] && (this.metrics[t].record(e, i), delete this.metrics[t])
                }, t
            }(), n = new o;
            e.a = n
        }, bfXp: function (t, e, i) {
            "use strict";

            function a(t) {
                var e = t.pageData, i = e.hotelid, a = e.cityid, n = e.isoversea;
                i && a && Object(o.a)(i, n ? 2 : 1, a)
            }

            e.a = a;
            var o = (i("QVf9"), i("xvyn"), i("vrqZ"))
        }, blm4: function (t, e, i) {
            function a(t, e, i, a) {
                return void 0 === t || o(t, n[i]) && !s.call(a, i) ? e : t
            }

            var o = i("22B7"), n = Object.prototype, s = n.hasOwnProperty;
            t.exports = a
        }, boJ5: function (t, e, i) {
            "use strict";

            function a(t) {
                var e = t[0], i = t[1], a = t[2], o = t[3], n = e.scrollTop(), s = n > o ? "removeClass" : "addClass";
                s !== d && i[s](a);
                var r = (n / o).toFixed(2);
                r = Math.max(0, r), r = Math.min(r, 1), r !== h && (i.css({"background-color": "rgba(9, 159, 222," + r + ")"}), i.find(".js_title").css({
                    "-webkit-transition": "opacity 350ms linear",
                    transition: "opacity 350ms linear",
                    opacity: r <= .98 ? 0 : 1
                })), d = s, h = r
            }

            function o(t, e) {
                window.clearTimeout(p), p = window.setTimeout(function () {
                    a(t)
                }, e || 50)
            }

            function n(t) {
                c()(t) && (a(t), o(t, 100))
            }

            var s = i("+X65"), r = i.n(s), l = i("NGEn"), c = i.n(l), d = "", h = "", p = null;
            e.a = r()(n, 16)
        }, "byV+": function (t, e, i) {
            "use strict";
            Object.defineProperty(e, "__esModule", {value: !0});
            var a = i("zEAZ");
            i.n(a), i("krQC")
        }, cGzK: function (t, e, i) {
            "use strict";
            var a = i("+fW5"), o = function () {
                function t(t, e) {
                    this.index = a.a.getPageCount(), this.pageid = t, this.time = this.getNow(), e && (this.data = e), a.a.putPage(this)
                }

                return t.prototype.addAction = function (t, e) {
                    this.actions || (this.actions = []);
                    var i = {name: t, time: this.getNow()};
                    e && (i.data = e), this.actions.push(i), a.a.putPage(this)
                }, t.prototype.getNow = function () {
                    return +new Date
                }, t
            }();
            e.a = o
        }, cdq7: function (t, e) {
            function i(t, e, i, a) {
                for (var o = t.length, n = i + (a ? 1 : -1); a ? n-- : ++n < o;) if (e(t[n], n, t)) return n;
                return -1
            }

            t.exports = i
        }, csBb: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("b+im"), s = i("3sAO"), r = i.n(s), l = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = r.a, this.datamodel.title = "", this.datamodel.body = "", this.datamodel.footer = "", this.datamodel.btns = [], this.datamodel.ttype = "normal", this.addEvents({
                        "click .cui-btns-ok": "okAction",
                        "click .cui-btns-cancel": "cancelAction",
                        "click .js_btn_close": "closeAction",
                        "mousemove .js_swrapper>div": "_resetTitleBarStyle",
                        "touchmove .js_swrapper>div": "_resetTitleBarStyle"
                    }), this.head = null, this.body = null, this.footer = null, this.maxHeight = 300, this.sheight = 0, this.scrollOpts = {}
                }, e.prototype.okAction = function () {
                }, e.prototype.cancelAction = function () {
                }, e.prototype.closeAction = function () {
                    this.hide()
                }, e.prototype.initElement = function () {
                    this.box_wrapper = this.$(".js_pop_box"), this.swrapper = this.$(".js_swrapper")
                }, e.prototype.initSize = function () {
                    var t = this.datamodel;
                    if (t.title) {
                        this.title = t.title, this.head = this.$(".js_hd");
                        var e = t.headerHeight;
                        if (e) switch (e) {
                            case"auto":
                                this.head.addClass("hotel-hd-title");
                                break;
                            case"number" == typeof e:
                                this.head.css({height: parseInt(e, 10)})
                        }
                    }
                    t.body && "string" == typeof t.body && (this.body = this.swrapper.children()), t.footer && "string" == typeof t.footer && (this.footer = this.$(".js_footer")), (this.title || this.body || this.footer) && this._initWrapperSize()
                }, e.prototype._initWrapperSize = function () {
                    this.sheight = this.body && this.body.height();
                    var t = this.head && this.head.height() || 0;
                    this.footer && this.footer.height();
                    this.maxHeight = .8 * $(window).height() - t;
                    var e = Math.min(this.sheight, this.maxHeight);
                    this.swrapper.height(e), this.width && this.box_wrapper.width(this.width)
                }, e.prototype.refreshHeight = function () {
                    var t = this.scroll && this.scroll.y || 0;
                    this._initWrapperSize(), this.scroll && this.scroll.refresh && this.scroll.refresh(), this._initScroll(), this.reposition(), this.scroll && (t < this.scroll.maxScrollY && (t = this.scroll.maxScrollY), this.scroll.scrollTo(0, t))
                }, e.prototype.setOption = function (e) {
                    var i = this;
                    t.prototype.setOption.call(this, e), this.needAnimat = !0, this.animateInClass = "animated slideInUp", this.animateOutClass = "animated slideOutDown", this.on("onPreShow", function () {
                        i.$el.addClass("l--ab"), i.$el.attr({style: "z-index:" + i.$el.css("zIndex")})
                    })
                }, e.prototype._resetTitleBarStyle = function () {
                    var t = this;
                    this._removeTouchEvent();
                    var e = t.body.position().top;
                    if (e && this.scroll && "mask" === this.datamodel.ttype) {
                        var i = Math.abs((e / 20).toFixed(2)), a = i > 1 ? 1 : i;
                        e < 0 && Math.abs(e) > 20 ? (this.$(".js_hd").addClass("gray"), this.$(".js_hd").css({
                            "background-color": "rgba(240, 240, 240,1)",
                            "background-image": "none"
                        })) : e < 0 && Math.abs(e) <= 20 ? (this.$(".js_hd").removeClass("gray"), this.$(".js_hd").css({
                            "background-color": "rgba(240, 240, 240," + a + ")",
                            "background-image": "none",
                            "-webkit-transition": "opacity 350ms linear",
                            "-moz-transition": "opacity 350ms linear",
                            transition: "opacity 350ms linear"
                        })) : e >= 0 && (this.$(".js_hd").removeClass("gray"), this.$(".js_hd").css({
                            "background-color": "rgba(240, 240, 240,0)",
                            "background-image": "linear-gradient(rgba(0,0,0,.6) , rgba(0,0,0,0)),linear-gradient(rgba(0,0,0,.6) , rgba(0,0,0,0));",
                            "-webkit-transition": "opacity 350ms linear",
                            "-moz-transition": "opacity 350ms linear",
                            transition: "opacity 350ms linear"
                        }))
                    }
                }, e.prototype._removeTouchEvent = function () {
                    this.$(".js_swrapper>div").off("touchmove"), this.$(".js_swrapper>div").off("mousemove")
                }, e.prototype._initScroll = function () {
                    this.scroll && this.scroll.destory && this.scroll.destory(), this.sheight >= this.maxHeight && (this.scrollOpts = {
                        wrapper: this.swrapper,
                        scroller: this.body,
                        scrollType: "y",
                        step: 5,
                        bounceTime: 200,
                        momentum: !0
                    }, this.scroll = new n.a(this.scrollOpts))
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this);
                    var e = this;
                    this.on("onShow", function () {
                        this.initSize(), this._initScroll()
                    }, 1), this.on("onHide", function () {
                        var t = this;
                        this.scroll && (this.scroll.destroy(), this.scroll = null), setTimeout(function () {
                            t.destroy()
                        }, 300)
                    }), $(window).on("resize", function () {
                        e.refreshHeight()
                    })
                }, e.prototype.show = function () {
                    t.prototype.show.call(this)
                }, e.prototype.reposition = function () {
                }, e
            }(o.a);
            e.a = l
        }, d9bj: function (t, e) {
            t.exports = '<div class="cp-h5-main cp-h5-lizard" style="position: absolute; left:0; right:0; height:100%; width:100%; top:0; bottom:0;"> <div class="loading-box2" style="position: fixed;left:50%;top:50%;margin-left:-56px;margin-top: -56px; width:100%;"> <div class="loading-layer2" style="background-color: #fff;width: 112px;height: 27px;padding-top: 85px;border-radius: 7px;z-index:10000;color: #666;font-size: 12px;text-align: center;"> <canvas class="loading-layer2-before" style="position: absolute;width: 72px;height: 72px;top: 10px;left: 20px;"></canvas> <p id="cp-h5-text">\u6e38\u6e38\u52aa\u529b\u52a0\u8f7d\u4e2d</p> </div> </div> </div>'
        }, dFpP: function (t, e, i) {
            function a(t) {
                var e = this.__data__, i = o(e, t);
                return !(i < 0) && (i == e.length - 1 ? e.pop() : s.call(e, i, 1), --this.size, !0)
            }

            var o = i("imBK"), n = Array.prototype, s = n.splice;
            t.exports = a
        }, dUEU: function (t, e) {
            t.exports = '<% if(promoTags && promoTags.length || isSuddenlyRoom){%> <ul class="l-policy l-tb-border mb5 js_tag_pop_b_box"> <li class="item"> <b>\u4f18\u60e0\u4fc3\u9500</b> <%if(isSuddenlyRoom){%> <span class="l-tag l-tag01">\u534e\u4eba\u4e13\u4eab\u4ef7</span> <p class="l-color4">\u534e\u4eba\u9884\u8ba2\u8be5\u4f4f\u5bbf\u53ef\u4eab\u4f18\u60e0\u4ef7</p> <%}%> <div class="mb5 bfc"> <%for(var i=0,len=promoTags.length;i< len;i++){%> <%if (promoTags[i].title.indexOf("[") === 0) {\r\n        var titles = JSON.parse(promoTags[i].title);\r\n        var descs = JSON.parse(promoTags[i].desc);\r\n        titles.forEach(function(tag, index){%> <%=tag%> <div class="mb5 js_tag_desc"><%=descs[index]%></div> <%});\r\n      } else {%> <%=promoTags[i].title%> <div class="mb5 js_tag_desc"><%=promoTags[i].desc%></div> <%}}%> </div> </li> </ul> <%}%> '
        }, deUO: function (t, e, i) {
            function a(t, e) {
                var i = this.__data__, a = o(i, t);
                return a < 0 ? (++this.size, i.push([t, e])) : i[a][1] = e, this
            }

            var o = i("imBK");
            t.exports = a
        }, dmQx: function (t, e, i) {
            function a(t, e) {
                return !!(null == t ? 0 : t.length) && o(t, e, 0) > -1
            }

            var o = i("G8ar");
            t.exports = a
        }, eAIx: function (t, e, i) {
            var a = i("Kl7s"), o = {"&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;"}, n = a(o);
            t.exports = n
        }, "eG8/": function (t, e) {
            function i(t) {
                return function (e) {
                    return null == e ? void 0 : e[t]
                }
            }

            t.exports = i
        }, eHwr: function (t, e, i) {
            function a(t) {
                return function (e, i, a) {
                    var r = Object(e);
                    if (!n(e)) {
                        var l = o(i, 3);
                        e = s(e), i = function (t) {
                            return l(r[t], t, r)
                        }
                    }
                    var c = t(e, i, a);
                    return c > -1 ? r[l ? e[c] : c] : void 0
                }
            }

            var o = i("JyYQ"), n = i("bGc4"), s = i("ktak");
            t.exports = a
        }, eJMW: function (t, e, i) {
            var a = i("8AZL"), o = i("YkxI"), n = i("Xu6E"), s = o(function (t, e) {
                try {
                    return a(t, void 0, e)
                } catch (t) {
                    return n(t) ? t : new Error(t)
                }
            });
            t.exports = s
        }, "eO/s": function (t, e) {
            t.exports = '<div class="cui-layer-padding"> <style> .cui-toast .cui-layer-padding {\r\n      width         : 90%;\r\n      margin        : 0 auto;\r\n      line-height   : 1.2rem;\r\n      border-radius : 0.25rem;\r\n      background    : rgba(0, 0, 0, .7);\r\n      padding       : 0.5rem 0.75rem;\r\n      color         : #fff;\r\n      font-weight   : 700;\r\n      text-align    : center;\r\n      word-break    : break-all\r\n    } </style> <div class="cui-layer-content"> <%=content %></div> </div> '
        }, eR4J: function (t, e) {
            t.exports = '<%if(facilities && facilities.length){%> <ul class="facilities l-t-border js_toggle_cell"> <li class="item js_toggle_trigger js_toggle_facility_expand"><span class="l-color2 fr pr5">\u5c55\u5f00&nbsp;<i class="l-arr-down"></i></span>\u66f4\u591a\u623f\u578b\u8bbe\u65bd</li> <%for(var i=0,len=facilities.length;i< len;i++){%> <li class="item js_toggle_cont_box" style="display:none"><span class="label"><%=facilities[i].title%></span><span class="bfc"><%=facilities[i].desc%></span></li> <%}%> <li class="item js_toggle_trigger js_toggle_facility_collapse" style="display:none"><span class="l-color2 fr pr5">\u6536\u8d77&nbsp;<i class="l-arr-down l-arr-up"></i></span></li> </ul> <%}%> '
        }, eShC: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length, o = 0, n = []; ++i < a;) {
                    var s = t[i];
                    e(s, i, t) && (n[o++] = s)
                }
                return n
            }

            t.exports = i
        }, f931: function (t, e) {
            function i(t, e) {
                return function (i) {
                    return t(e(i))
                }
            }

            t.exports = i
        }, fdcG: function (t, e) {
            t.exports = '<ul class="cui-tab-mod"> <style> .cui-tab-mod {\r\n      display          : -webkit-box;\r\n      display          : -moz-box;\r\n      display          : -ms-flexbox;\r\n      display          : -webkit-flex;\r\n      display          : flex;\r\n      height           : 2.15rem;\r\n      line-height      : 2.15rem;\r\n      border-bottom    : #bcbcbc 1px solid;\r\n      background-color : #fafafa;\r\n      color            : #666;\r\n      font-size        : 0.75rem;\r\n      position         : relative;\r\n      display          : table\\9;\r\n      width            : 100%\r\n    }\r\n    .cui-tab-mod li {\r\n      text-align       : center;\r\n      -webkit-box-flex : 1;\r\n      -moz-box-flex    : 1;\r\n      -webkit-flex     : 1;\r\n      -ms-flex         : 1;\r\n      flex             : 1;\r\n      display          : table-cell\\9\r\n    }\r\n    .cui-tab-mod li.cui-tab-current {\r\n      color : #4289ff\r\n    }\r\n    .cui-tab-mod .cui-tab-scrollbar {\r\n      position           : absolute;\r\n      left               : 0;\r\n      height             : 0.2rem;\r\n      bottom             : -0.05rem;\r\n      background-color   : #4289ff;\r\n      -webkit-transition : -webkit-transform 300ms ease-in-out;\r\n      -moz-transition    : -moz-transform 300ms ease-in-out;\r\n      -ms-transition     : -ms-transform 300ms ease-in-out;\r\n      transition         : transform 300ms ease-in-out;\r\n      z-index            : -1\r\n    }\r\n    .cui-tabnum2 {\r\n      width : 50%\r\n    }\r\n    .cui-tabnum3 {\r\n      width : 33.33333%\r\n    }\r\n    .cui-tabnum4 {\r\n      width : 25%\r\n    }\r\n    .cui-tabnum5 {\r\n      width : 20%\r\n    }\r\n    .cui-tabnum6 {\r\n      width : 16.66666%\r\n    }\r\n    .cui-tab-mod li.cui-tab-current ~ .cui-tab-scrollbar {\r\n      z-index : 2\r\n    }\r\n    .cui-tab-mod li:nth-of-type(1).cui-tab-current ~ .cui-tab-scrollbar {\r\n      -webkit-transform : translate3d(0, 0, 0);\r\n      -moz-transform    : translate3d(0, 0, 0);\r\n      -ms-transform     : translate3d(0, 0, 0);\r\n      transform         : translate3d(0, 0, 0)\r\n    }\r\n    .cui-tab-mod li:nth-of-type(2).cui-tab-current ~ .cui-tab-scrollbar {\r\n      -webkit-transform : translate3d(100%, 0, 0);\r\n      -moz-transform    : translate3d(100%, 0, 0);\r\n      -ms-transform     : translate3d(100%, 0, 0);\r\n      transform         : translate3d(100%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:nth-of-type(3).cui-tab-current ~ .cui-tab-scrollbar {\r\n      -webkit-transform : translate3d(200%, 0, 0);\r\n      -moz-transform    : translate3d(200%, 0, 0);\r\n      -ms-transform     : translate3d(200%, 0, 0);\r\n      transform         : translate3d(200%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:nth-of-type(4).cui-tab-current ~ .cui-tab-scrollbar {\r\n      -webkit-transform : translate3d(300%, 0, 0);\r\n      -moz-transform    : translate3d(300%, 0, 0);\r\n      -ms-transform     : translate3d(300%, 0, 0);\r\n      transform         : translate3d(300%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:nth-of-type(5).cui-tab-current ~ .cui-tab-scrollbar {\r\n      -webkit-transform : translate3d(400%, 0, 0);\r\n      -moz-transform    : translate3d(400%, 0, 0);\r\n      -ms-transform     : translate3d(400%, 0, 0);\r\n      transform         : translate3d(400%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:nth-of-type(6).cui-tab-current ~ .cui-tab-scrollbar {\r\n      -webkit-transform : translate3d(500%, 0, 0);\r\n      -moz-transform    : translate3d(500%, 0, 0);\r\n      -ms-transform     : translate3d(500%, 0, 0);\r\n      transform         : translate3d(500%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:last-of-type.cui-tab-current + .cui-tab-scrollbar.cui-tabnum2 {\r\n      -webkit-transform : translate3d(100%, 0, 0);\r\n      -moz-transform    : translate3d(100%, 0, 0);\r\n      -ms-transform     : translate3d(100%, 0, 0);\r\n      transform         : translate3d(100%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:last-of-type.cui-tab-current + .cui-tab-scrollbar.cui-tabnum3 {\r\n      -webkit-transform : translate3d(200%, 0, 0);\r\n      -moz-transform    : translate3d(200%, 0, 0);\r\n      -ms-transform     : translate3d(200%, 0, 0);\r\n      transform         : translate3d(200%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:last-of-type.cui-tab-current + .cui-tab-scrollbar.cui-tabnum4 {\r\n      -webkit-transform : translate3d(300%, 0, 0);\r\n      -moz-transform    : translate3d(300%, 0, 0);\r\n      -ms-transform     : translate3d(300%, 0, 0);\r\n      transform         : translate3d(300%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:last-of-type.cui-tab-current + .cui-tab-scrollbar.cui-tabnum5 {\r\n      -webkit-transform : translate3d(400%, 0, 0);\r\n      -moz-transform    : translate3d(400%, 0, 0);\r\n      -ms-transform     : translate3d(400%, 0, 0);\r\n      transform         : translate3d(400%, 0, 0)\r\n    }\r\n    .cui-tab-mod li:last-of-type.cui-tab-current + .cui-tab-scrollbar.cui-tabnum6 {\r\n      -webkit-transform : translate3d(500%, 0, 0);\r\n      -moz-transform    : translate3d(500%, 0, 0);\r\n      -ms-transform     : translate3d(500%, 0, 0);\r\n      transform         : translate3d(500%, 0, 0)\r\n    } </style> <%for(var i = 0, len = data.length; i < len; i++) { %> <li data-key="<%=data[i].id %>" data-ubt-key="<%= data[i].ubtkey %>" data-index="<%=i%>" <%if(i == index){ %> class=" <%=curClass %>" <%} %>> <%=data[i].name %></li> <%} %> <i class="cui-tab-scrollbar cui-tabnum<%=len %>"></i> </ul> '
        }, "g6+a": function (t, e) {
            t.exports = '<style> .hb-p10 {padding: 0.5rem}\r\n.hb-mt10 {margin-top: 0.5rem}\r\n.hb-tc { text-align: center; }\r\n.hb-fn13 { font-size: 0.65 }\r\n.hb-fn20 { font-size: 1rem; }\r\n\r\n.hb-layer {width:14.5rem;max-height:22.75rem;margin:auto;background: url("https://pages.ctrip.com/hotel_h5/res/img/hotel-redbags.png") top center no-repeat;background-size: 14.5rem auto;border-radius: 0 0 0.5rem 0.5rem;z-index: 5000;position: fixed;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);}\r\n.hb-layer .hb-close {width: 1.8rem;height: 1.7rem;position: absolute;top:-2.5rem;right:0;background: url("https://pages.ctrip.com/hotel_h5/res/img/rclose.png") no-repeat;background-size: 1.7rem 1.7rem}\r\n.hb-layer .hb-load {color: #fff;padding: 1rem 0 1.5rem}\r\n.hb-load-icon { width: 0.7rem; height: 0.7rem; display: inline-block; border: 2px solid #fff; border-radius: 50%; border-right-color: transparent; vertical-align: sub; margin-right: 0.5rem; -webkit-animation: rotate 650ms linear infinite; animation: rotate 650ms linear infinite; }\r\n.hb-layer .hd {text-align: center;padding-top:0.75rem;color: #fff;line-height: 1}\r\n.hb-layer .hd .hb-fn50 {font-size: 2.5rem;vertical-align: -5px;padding-right: 0.15rem}\r\n.hb-layer .bd {padding: 2.7rem 1.225rem 1rem}\r\n/*\u91cd\u7f6e\u6846\u67b6\u767b\u5f55css*/\r\n.hb-layer .bd .g-login-pt {min-height: 7.7rem}\r\n.hb-layer .bd .in_login{margin-top: -0.5rem}\r\n.hb-layer .bd .in_login label {display: none}\r\n.hb-layer .bd .in_login-submit {position: relative;color: transparent;}\r\n.hb-layer .bd .in_login-submit:before {position: absolute;left:0;width:100%;color:#fff;height:100%;content: "\u9886\u53d6\u7ea2\u5305"}\r\n.hb-layer .bd .in_login-item {border-radius:0.3rem;background-color: #fff;box-shadow:0 1px 3px rgba(0,0,0,.35);margin-bottom: 10px;    padding-left: 10px;border:1px solid #3c065d;}\r\n.hb-layer .bd .in_login .in_login-send:not(.mix__disabled) {background-color: #f0dbfa;border-color: #8c1db7;color: #5f0293}\r\n.hb-layer .bd .in_login .in_login-send {height:37px; line-height:37px; margin:6px;}\r\n.hb-layer .bd .in_login-item_action {margin: 10px 0 0;padding: 0;border:none;}\r\n\r\n.hb-layer .hb-color{color: #fff801}\r\n.hb-layer .hb-dole-btn {background-color: #fe940b;font-size: 1rem;padding:0.5rem;border-radius: 0.25rem;margin: 0.5rem 0 0 0.45rem;text-align: center;color: #fff;box-shadow: 0 2px 2px rgba(0,0,0,.25)}\r\n.hb-layer .hb-rule {color: #fff;padding-top: 0.5rem}\r\n.hb-icon-more {-webkit-transition:transform 350ms linear;transition:transform 350ms linear;}\r\n.open .hb-icon-more {-webkit-transform: rotate(180deg);transform: rotate(180deg);}\r\n.rule-scroll-touch {height: 6.5rem;overflow-y:scroll;-webkit-overflow-scrolling: touch;text-align: left;list-style: decimal;padding-left: 1rem}\r\n.rule-scroll-touch li {padding-bottom:0.5rem;}\r\n.hb-layer-toast .toast_login-layer {position: fixed;}\r\n\r\n@-webkit-keyframes rotate {\r\n    from {\r\n        -webkit-transform: rotate(0deg);\r\n    }\r\n\r\n    to {\r\n        -webkit-transform: rotate(360deg);\r\n    }\r\n} </style> <div class="hb-layer"> <i class="hb-close"></i> <%if(rdpinfo.hasred==5){%> <div class="hd"><img src="https://pages.ctrip.com/hotel_h5/res/img/hotel-redbags-title.png" width="142" alt=""></div> <div class="bd hb-tc"> <div class="hb-load"><i class="hb-load-icon"></i>\u52a0\u8f7d\u4e2d</div> </div> <%}%> <%if(rdpinfo.hasred==4){%> <div class="hd"><img src="https://pages.ctrip.com/hotel_h5/res/img/hotel-redbags-title.png" width="142" alt=""></div> <div class="bd"> <div id="hongbao_logincontainer"></div> </div> <%}%> <%if(rdpinfo.hasred==0){%> <div class="hd"><span class="hb-fn50"><%=rdpinfo.redamount%></span><span class="fn29">\u5143</span><span class="hb-fn20">\u4f18\u60e0\u5238</span></div> <div class="bd hb-tc"> <p class="hb-color hb-fn20">\u606d\u559c\u60a8<br/>\u6210\u529f\u9886\u53d6<%=rdpinfo.redamount%>\u5143\u65b0\u5ba2\u7ea2\u5305</p> <p class="hb-color hb-fn13">\u4f18\u60e0\u5238\u5df2\u653e\u5165\u60a8\u7684\u643a\u7a0b\u8d26\u6237</p> <div class="hb-dole-btn hb-mt10 js-hb-close">\u53bb\u4f7f\u7528</div> <div class="hb-rule"> <p class="hb-p10 js_event_rule_hook">\u6d3b\u52a8\u89c4\u5219 <img src="https://pages.ctrip.com/hotel_h5/res/img/hotel-more.png" width="14" class="hb-icon-more" alt=""></p> <ul class="rule-scroll-touch js_event_rule_content" style="display:none;" data-vs="0"> <%=rdpinfo.usemessage%> </ul> </div> </div> <%}%> <%if(rdpinfo.hasred==2){%> <div class="hd"><span class="hb-fn50"><%=rdpinfo.redamount%></span><span class="fn29">\u5143</span><span class="hb-fn20">\u4f18\u60e0\u5238</span></div> <div class="bd hb-tc"> <p class="hb-color hb-fn20">\u4f18\u60e0\u5238\u5df2\u653e\u5165\u60a8\u7684\u643a\u7a0b\u8d26\u6237</p> <div class="hb-dole-btn hb-mt10 js-hb-close">\u53bb\u4f7f\u7528</div> <div class="hb-rule"> <p class="hb-p10 js_event_rule_hook">\u6d3b\u52a8\u89c4\u5219 <img src="https://pages.ctrip.com/hotel_h5/res/img/hotel-more.png" width="14" class="hb-icon-more" alt=""></p> <ul class="rule-scroll-touch js_event_rule_content" style="display:none;" data-vs="0"> <%=rdpinfo.usemessage%> </ul> </div> </div> <%}%> <%if(rdpinfo.hasred==3){%> <div class="bd hb-tc"> <p class="hb-color hb-fn20">\u5f88\u62b1\u6b49\uff0c\u60a8\u7684\u4f18\u60e0\u5238\u5df2\u8fc7\u671f</p> <div class="hb-rule"> <p class="hb-p10 js_event_rule_hook">\u6d3b\u52a8\u89c4\u5219 <img src="https://pages.ctrip.com/hotel_h5/res/img/hotel-more.png" width="14" class="hb-icon-more" alt=""></p> <ul class="rule-scroll-touch js_event_rule_content" style="display:none;" data-vs="0"> <%=rdpinfo.usemessage%> </ul> </div> </div> <%}%> <%if(rdpinfo.hasred==1){%> <div class="hd"><img src="https://pages.ctrip.com/hotel_h5/res/img/hotel-redbags-title.png" width="142" alt=""></div> <div class="bd"> <p class="hb-color hb-fn20 hb-tc"><%=rdpinfo.redmessage || ""%></p> </div> <%}%> </div> '
        }, gFDN: function (t, e) {
        }, gGTa: function (t, e, i) {
            "use strict";
            var a = i("gGqR"), o = i.n(a), n = function () {
                function t(t) {
                    this.hciName = t
                }

                return t.prototype.start = function () {
                    this.metric = {
                        name: "101057",
                        tag: {hciname: this.hciName, status: "default"},
                        sample: 100
                    }, this.startTime = +new Date
                }, t.prototype.record = function (t, e) {
                    var i = this;
                    this.metric && (Object.keys(e || {}).forEach(function (t) {
                        var a = e[key];
                        o()(a) || (i.metric.tag[t] = e[t])
                    }), this.metric.tag.status = t, this.metric.value = new Date - this.startTime, __bfi && __bfi.push(["_trackMetric", this.metric]))
                }, t
            }();
            e.a = n
        }, gHOb: function (t, e) {
            function i(t) {
                return o.call(t)
            }

            var a = Object.prototype, o = a.toString;
            t.exports = i
        }, ggOT: function (t, e) {
            function i() {
                return !1
            }

            t.exports = i
        }, gpZ8: function (t, e) {
            function i(t, e) {
                var i = t.length;
                for (t.sort(e); i--;) t[i] = t[i].value;
                return t
            }

            t.exports = i
        }, gszD: function (t, e, i) {
            var a = i("1C79"), o = i("YkxI"), n = i("Tvex"), s = i("Fp5l"), r = o(function (t) {
                return n(a(t, 1, s, !0))
            });
            t.exports = r
        }, hSVh: function (t, e, i) {
            "use strict";

            function a(t) {
                var e = t[0], i = t[1], a = t[2], o = t[3], n = t[4],
                    s = document.scrollingElement ? document.scrollingElement.scrollTop : e.scrollTop();
                if (n || o.scrollTop > 0 && o.scrollTop < s) {
                    var l = parseInt(a.css("top"), 10);
                    i.css({
                        "-webkit-transition": "none",
                        transition: "none",
                        opacity: 0
                    }), a.css("top", 0), l > 0 && r.a.publish("detail.scroll", [l])
                }
                if (o.scrollTop > s && !n) {
                    var l = parseInt(a.css("top"), 10);
                    i.find(".cm-header").css("height", "2.2rem"), i.css({
                        "-webkit-transition": "none",
                        transition: "none",
                        opacity: 1
                    }), a.css("top", "2.2rem"), 0 === l && r.a.publish("detail.scroll", [l])
                }
                o.scrollTop = s
            }

            function o(t) {
                if (s()(t)) {
                    a(t);
                    var e = t[3], i = $(".js_roomlist").offset(), o = $(".dl-sticky");
                    if (i && o && o.offset()) {
                        var n = o.offset();
                        i.top + i.height - n.height / 2 <= e.scrollTop ? $(".dl-sticky").attr("style", "position: static") : $(".dl-sticky").attr("style", "position: sticky")
                    }
                }
            }

            e.a = o;
            var n = i("NGEn"), s = i.n(n), r = i("nRI/")
        }, hrPF: function (t, e) {
            function i(t, e) {
                var i = -1, a = t.length;
                for (e || (e = Array(a)); ++i < a;) e[i] = t[i];
                return e
            }

            t.exports = i
        }, hws1: function (module, __webpack_exports__, __webpack_require__) {
            "use strict";

            function getKey(t) {
                seq += 1;
                var e = "____casf" + seq;
                return getPromiseObject({
                    callbackName: e,
                    api: "cas/gk/" + t + "?cb=" + e,
                    bkapi: "cas/g98k/" + t + "?cb=" + e
                })
            }

            function finalize(t) {
                return delete window[t], !0
            }

            function processKey(response) {
                if (!response) return resolve(""), finailize(name);
                try {
                    "string" == typeof response && (response = JSON.parse(response));
                    var script = response._s;
                    script && eval(script)
                } catch (t) {
                }
                return finalize(name)
            }

            function getPromiseObject(t) {
                return new Promise(function (e) {
                    t.resolve = e, window[t.callbackName] = function (t) {
                        e(t())
                    }, callContentApi(t)
                })
            }

            function callClassicApi(t) {
                $.ajax({
                    url: Object(__WEBPACK_IMPORTED_MODULE_0_commons_util_urlutils__.a)(t.bkapi),
                    data: {},
                    success: processKey,
                    cache: !1,
                    error: function () {
                        return t.resolve && "function" == typeof t.resolve && t.resolve(""), finalize(t.callbackName)
                    }
                })
            }

            function callContentApi(t) {
                $.ajax({
                    url: Object(__WEBPACK_IMPORTED_MODULE_0_commons_util_urlutils__.b)(t.api),
                    data: {},
                    success: processKey,
                    cache: !1,
                    error: function () {
                        callClassicApi(t)
                    }
                })
            }

            function getTestScript() {
                seq += 1;
                var t = "____casftest" + seq;
                return getPromiseObject({callbackName: t, api: "cas/gts?cb=" + t})
            }

            __webpack_exports__.a = getKey, __webpack_exports__.b = getTestScript;
            var __WEBPACK_IMPORTED_MODULE_0_commons_util_urlutils__ = __webpack_require__("xvyn"), seq = 0
        }, "hz+3": function (t, e) {
            function i(t) {
                return void 0 === t
            }

            t.exports = i
        }, iYj9: function (t, e) {
            function i() {
                return !1
            }

            t.exports = i
        }, imBK: function (t, e, i) {
            function a(t, e) {
                for (var i = t.length; i--;) if (o(t[i][0], e)) return i;
                return -1
            }

            var o = i("22B7");
            t.exports = a
        }, iwvh: function (t, e) {
        }, j8K2: function (t, e) {
        }, jD7S: function (t, e, i) {
            function a(t, e) {
                return t && o(e, n(e), t)
            }

            var o = i("tv3T"), n = i("ktak");
            t.exports = a
        }, jGpU: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("MwXj"), s = i.n(n), r = i("sHMc"), l = i.n(r), c = i("yKmV"),
                d = i("p3b7"), h = i.n(d), p = i("aoYE"), u = (i.n(p), function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.resetDefaultProperty = function () {
                        t.prototype.resetDefaultProperty.call(this), this.maskToHide = !1, this.datamodel = {
                            title: "",
                            content: "content",
                            btns: [{name: "\u77e5\u9053\u4e86", className: "cui-btns-ok"}]
                        }, this.template = s.a, this.events = {
                            "click .js_ok": "okAction",
                            "click .js_close": "cancelAction"
                        }, this.receiveCouponSuccess = !1, this.okAction = function () {
                            this.hideDlg()
                        }, this.cancelAction = function () {
                            this.hideDlg()
                        }
                    }, e.prototype._setMaskEvent = function () {
                        var t = this;
                        this.needMask && this.maskToHide && this.mask.addEvents({
                            click: function () {
                                t.hideDlg()
                            }
                        })
                    }, e.prototype.hideDlg = function () {
                        this.freshRelatedPage(), this.receiveCouponSuccess && this.trigger("receciveCouponSuccess"), this.hide(), this.trigger("closeLayer")
                    }, e.prototype.freshRelatedPage = function () {
                        (this.needForceProcessCallBack || this.receiveCouponSuccess) && this.trigger("refreshCallBack")
                    }, e.prototype.showLoading = function () {
                        this.$el.find(".js_loading").show()
                    }, e.prototype.hideLoading = function () {
                        this.$el.find(".js_loading").hide()
                    }, e.prototype.refreshPop = function (t) {
                        this.hideLoading();
                        var e = h()(l.a),
                            i = e({result: {amount: t.amount, desc: t.desc, validPeriod: t.validPeriod, name: t.name}});
                        this.$el.find(".js_coupon_box").prepend(i)
                    }, e.prototype.showResult = function (t) {
                        if (t && 0 === t.status) this.receiveCouponSuccess = !0, this.refreshPop(t); else {
                            this.receiveCouponSuccess = !1;
                            var e = t.message || "\u9886\u53d6\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5", i = t.status || 1;
                            this.trigger("showToast", e, i), this.hide(), this.trigger("closeLayer"), this.destroy()
                        }
                    }, e.prototype.getCouponState = function () {
                        var t = this;
                        this.showLoading(), c.a.get("/webapp/hotel/api/receivenewguestcoupon?isOversea=" + t.isOversea + "&isPromotion2=false", {}, function (e) {
                            t.hideLoading(), t.showResult(e)
                        }, function () {
                            t.hideLoading(), t.showResult()
                        }, 3e4), this.show(), this.trigger("showingLayer")
                    }, e
                }(o.a));
            e.a = u
        }, jnGA: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.create = function () {
                    t.prototype.create.call(this), this.$el.addClass("cui-mask")
                }, e.prototype.addEvent = function () {
                    var e = this;
                    t.prototype.addEvent.call(this), this.on("onHide", function () {
                        e.onHide()
                    }), this.on("onShow", function () {
                        e.onShow()
                    })
                }, e.prototype.onHide = function () {
                    this.doHide()
                }, e.prototype.onShow = function () {
                    this.doShow()
                }, e.prototype.doHide = function () {
                    $(window).off(".mask" + this.id)
                }, e.prototype.doShow = function () {
                    this.setRootStyle(), this.setzIndexTop(), $(window).off(".mask" + this.id), $(window).on("resize.mask" + this.id, $.proxy(function () {
                        this.setRootStyle(), $.os && $.os.android && window.scrollTo(0, window.scrollY + 10)
                    }, this))
                }, e.prototype.setRootStyle = function () {
                    var t = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);
                    this.$el.css({width: "100%", height: t + "px", position: "absolute", left: "0px", top: "0px"})
                }, e.prototype.resetDefaultProperty = function () {
                    this.animateOutClass = "cm-overlay-out", this.events = {}, this.addEvents({touchmove: this._preventDefault.bind(this)})
                }, e
            }(o.a);
            e.a = n
        }, kXZP: function (t, e, i) {
            function a(t) {
                return o(2, t)
            }

            var o = i("tPu2");
            t.exports = a
        }, "kbi+": function (t, e, i) {
            var a = i("eHwr"), o = i("KgVm"), n = a(o);
            t.exports = n
        }, krQC: function (module, __webpack_exports__, __webpack_require__) {
            "use strict";
            var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__("TToO"),
                __WEBPACK_IMPORTED_MODULE_1_lodash_each__ = __webpack_require__("9uKM"),
                __WEBPACK_IMPORTED_MODULE_1_lodash_each___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_each__),
                __WEBPACK_IMPORTED_MODULE_2_lodash_forEach__ = __webpack_require__("309y"),
                __WEBPACK_IMPORTED_MODULE_2_lodash_forEach___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_forEach__),
                __WEBPACK_IMPORTED_MODULE_3_lodash_map__ = __webpack_require__("2247"),
                __WEBPACK_IMPORTED_MODULE_3_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_map__),
                __WEBPACK_IMPORTED_MODULE_4_lodash_filter__ = __webpack_require__("RyI1"),
                __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_filter__),
                __WEBPACK_IMPORTED_MODULE_5_lodash_find__ = __webpack_require__("kbi+"),
                __WEBPACK_IMPORTED_MODULE_5_lodash_find___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_find__),
                __WEBPACK_IMPORTED_MODULE_6_lodash_take__ = __webpack_require__("m4tL"),
                __WEBPACK_IMPORTED_MODULE_6_lodash_take___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_take__),
                __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex__ = __webpack_require__("KgVm"),
                __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_findIndex__),
                __WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty__ = __webpack_require__("lHK6"),
                __WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty__),
                __WEBPACK_IMPORTED_MODULE_9_lodash_template__ = __webpack_require__("p3b7"),
                __WEBPACK_IMPORTED_MODULE_9_lodash_template___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_lodash_template__),
                __WEBPACK_IMPORTED_MODULE_10_lodash_reject__ = __webpack_require__("YqDm"),
                __WEBPACK_IMPORTED_MODULE_10_lodash_reject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_lodash_reject__),
                __WEBPACK_IMPORTED_MODULE_11_lodash_throttle__ = __webpack_require__("+X65"),
                __WEBPACK_IMPORTED_MODULE_11_lodash_throttle___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_lodash_throttle__),
                __WEBPACK_IMPORTED_MODULE_12_lodash_cloneDeep__ = __webpack_require__("kvU2"),
                __WEBPACK_IMPORTED_MODULE_12_lodash_cloneDeep___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_12_lodash_cloneDeep__),
                __WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__ = __webpack_require__("xvyn"),
                __WEBPACK_IMPORTED_MODULE_14_commons_ui_ui_toast__ = __webpack_require__("X8N+"),
                __WEBPACK_IMPORTED_MODULE_15_commons_ui_ui_mslider__ = __webpack_require__("+Hns"),
                __WEBPACK_IMPORTED_MODULE_16_commons_ui_ui_serviceguarantee_layer__ = __webpack_require__("q49O"),
                __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__ = __webpack_require__("6rBr"),
                __WEBPACK_IMPORTED_MODULE_18_commons_util_imageutils__ = __webpack_require__("PllI"),
                __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__ = __webpack_require__("yKmV"),
                __WEBPACK_IMPORTED_MODULE_20_commons_util_hostutils__ = __webpack_require__("yaBp"),
                __WEBPACK_IMPORTED_MODULE_21_commons_ui_oversea_ui_serviceguarantee_layer__ = __webpack_require__("Pywt"),
                __WEBPACK_IMPORTED_MODULE_22_commons_util_messagecenter__ = __webpack_require__("nRI/"),
                __WEBPACK_IMPORTED_MODULE_23_commons_libs_store__ = __webpack_require__("+b/N"),
                __WEBPACK_IMPORTED_MODULE_24_commons_history__ = __webpack_require__("LpuJ"),
                __WEBPACK_IMPORTED_MODULE_25_commons_util_cas__ = __webpack_require__("hws1"),
                __WEBPACK_IMPORTED_MODULE_26_bizcommon_getcoupon_coupon_newguest__ = __webpack_require__("+3UB"),
                __WEBPACK_IMPORTED_MODULE_27_bizcommon_searchstatusprovider__ = __webpack_require__("V5ch"),
                __WEBPACK_IMPORTED_MODULE_28_bizcommon_hotelqueryprovider__ = __webpack_require__("zFzQ"),
                __WEBPACK_IMPORTED_MODULE_29_bizcommon_loginguide_loginguide__ = __webpack_require__("IVDy"),
                __WEBPACK_IMPORTED_MODULE_30_bizcommon_loginguide_loginguidestatus__ = __webpack_require__("19gJ"),
                __WEBPACK_IMPORTED_MODULE_31_bizcommon_getcoupon_coupon_newguest_entrance_pop__ = __webpack_require__("y9O2"),
                __WEBPACK_IMPORTED_MODULE_32_bizcommon_registerCouponProvider__ = __webpack_require__("pqFS"),
                __WEBPACK_IMPORTED_MODULE_33__startup__ = __webpack_require__("gsCt"),
                __WEBPACK_IMPORTED_MODULE_34__loginpage__ = __webpack_require__("YtmL"),
                __WEBPACK_IMPORTED_MODULE_35__headscroller__ = __webpack_require__("boJ5"),
                __WEBPACK_IMPORTED_MODULE_36__bodyscroller__ = __webpack_require__("hSVh"),
                __WEBPACK_IMPORTED_MODULE_37__favorite__ = __webpack_require__("SQPA"),
                __WEBPACK_IMPORTED_MODULE_38__styles_facilities_css__ = __webpack_require__("j8K2"),
                __WEBPACK_IMPORTED_MODULE_38__styles_facilities_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_38__styles_facilities_css__),
                __WEBPACK_IMPORTED_MODULE_39__styles_layer_css__ = __webpack_require__("BPYd"),
                __WEBPACK_IMPORTED_MODULE_39__styles_layer_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_39__styles_layer_css__),
                __WEBPACK_IMPORTED_MODULE_40__roomfilter__ = __webpack_require__("wei6"),
                __WEBPACK_IMPORTED_MODULE_41__bizroomfilter__ = __webpack_require__("b8sG"),
                __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__ = __webpack_require__("4JxI"),
                __WEBPACK_IMPORTED_MODULE_43__booking__ = __webpack_require__("2V6t"),
                __WEBPACK_IMPORTED_MODULE_44__popupui_baseroompopup__ = __webpack_require__("TLX3"),
                __WEBPACK_IMPORTED_MODULE_45__popupui_roompopup__ = __webpack_require__("bDxv"),
                __WEBPACK_IMPORTED_MODULE_46__popupui_roompopupuinew_baseroompopupnew__ = __webpack_require__("TOtM"),
                __WEBPACK_IMPORTED_MODULE_47__popupui_roompopupuinew_roompopupnew__ = __webpack_require__("XyYp"),
                __WEBPACK_IMPORTED_MODULE_48__popupui_hotelinfopopup__ = __webpack_require__("KK3K"),
                __WEBPACK_IMPORTED_MODULE_49__comment__ = __webpack_require__("r/6W"),
                __WEBPACK_IMPORTED_MODULE_50__ask__ = __webpack_require__("56Xt"),
                __WEBPACK_IMPORTED_MODULE_51__calendar__ = __webpack_require__("Fo7j"),
                __WEBPACK_IMPORTED_MODULE_52__browsehistory__ = __webpack_require__("bfXp"),
                __WEBPACK_IMPORTED_MODULE_53__styles_inout_css__ = __webpack_require__("UGrX"),
                __WEBPACK_IMPORTED_MODULE_53__styles_inout_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_53__styles_inout_css__),
                __WEBPACK_IMPORTED_MODULE_54__hotellist_biz_hotellist_hongbao__ = __webpack_require__("oEgB"),
                __WEBPACK_IMPORTED_MODULE_55__inoutdate__ = __webpack_require__("ITSX"),
                __WEBPACK_IMPORTED_MODULE_56__browsehistory_service__ = __webpack_require__("vrqZ"),
                __WEBPACK_IMPORTED_MODULE_57__HiddenSameTypeHotelStore__ = __webpack_require__("/NA3"),
                __WEBPACK_IMPORTED_MODULE_58__bottomTipsV2__ = __webpack_require__("p4wQ"),
                __WEBPACK_IMPORTED_MODULE_59__widgets_numselect__ = __webpack_require__("+JQy"),
                __WEBPACK_IMPORTED_MODULE_60__bizcommon_BuryBurnAfterReadingProvider__ = __webpack_require__("CJ1A"),
                __WEBPACK_IMPORTED_MODULE_61__reduceMarketingPopLayer__ = __webpack_require__("kzQO"),
                __WEBPACK_IMPORTED_MODULE_62__styles_poplayer_css__ = __webpack_require__("iwvh"),
                __WEBPACK_IMPORTED_MODULE_62__styles_poplayer_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_62__styles_poplayer_css__),
                burnAfterBurnStore = new __WEBPACK_IMPORTED_MODULE_23_commons_libs_store__.b({
                    key: "P_HOTEL_BURN_AFTER_READING",
                    lifeTime: "1H",
                    isUserData: !0,
                    defaultData: {}
                }), completeFilters = {
                    bedtype: [{key: 1, val: "\u5355\u4eba\u5e8a"}, {
                        key: 2,
                        val: "\u5927\u5e8a"
                    }, {key: 4, val: "\u53cc\u5e8a"}, {key: 16, val: "\u591a\u5f20\u5e8a"}],
                    breakfast: [{key: 1, val: "\u542b\u65e9\u9910"}, {key: 2, val: "\u5355\u4efd\u65e9\u9910"}, {
                        key: 4,
                        val: "\u53cc\u4efd\u65e9\u9910"
                    }],
                    facility: [{key: 1, val: "\u514d\u8d39WIFI\u4e0a\u7f51"}, {
                        key: 2,
                        val: "\u514d\u8d39\u6709\u7ebf\u5bbd\u5e26"
                    }],
                    paytype: [{key: 1, val: "\u5728\u7ebf\u4ed8\u6b3e"}, {key: 2, val: "\u5230\u5e97\u4ed8\u6b3e"}],
                    service: [{key: 1, val: "\u643a\u7a0b\u81ea\u8425"}, {key: 2, val: "\u514d\u8d39\u53d6\u6d88"}, {
                        key: 4,
                        val: "\u7acb\u5373\u786e\u8ba4"
                    }, {key: 8, val: "\u53ef\u8ba2"}, {key: 2048, val: "\u589e\u503c\u7a0e\u4e13\u7528\u53d1\u7968"}],
                    promotion: [{key: 1, val: "\u53ef\u52a0\u5e8a"}, {key: 2, val: "\u6ee1\u5341\u9001\u4e00"}],
                    feature: [{key: 202, val: "\u949f\u70b9\u623f"}]
                }, ROOM_PEOPLE_DEFAULT_NUM = {room: 1, adult: 1, children: [-1, -1, -1]}, Page = function (_super) {
                    function Page() {
                        for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
                        var i = _super.apply(this, t) || this;
                        return i.pageName = "detail", i.filterSelected = {}, i.toastFavoriteSuccess = new __WEBPACK_IMPORTED_MODULE_14_commons_ui_ui_toast__.a({datamodel: {content: "\u6536\u85cf\u6210\u529f"}}), i.toastFavoriteSuccess.hideSec = 1e3, i.toastCancelFavoriteSuccess = new __WEBPACK_IMPORTED_MODULE_14_commons_ui_ui_toast__.a({datamodel: {content: "\u53d6\u6d88\u6536\u85cf\u6210\u529f"}}), i.toastCancelFavoriteSuccess.hideSec = 1e3, i.showPeopleNumberSelect = i.showPeopleNumberSelect.bind(i), i.handleFavorite = i.handleFavorite.bind(i), i.handleSliderClick = i.handleSliderClick.bind(i), i.handleRedbag = i.handleRedbag.bind(i), i.handleGotoMap = i.handleGotoMap.bind(i), i.gotoBooking = i.gotoBooking.bind(i), i.handleBack = i.handleBack.bind(i), i.showBaseroomLayer = i.showBaseroomLayer.bind(i), i.searchStatusProvider = new __WEBPACK_IMPORTED_MODULE_27_bizcommon_searchstatusprovider__.a, i.loginguideStatusProvider = new __WEBPACK_IMPORTED_MODULE_30_bizcommon_loginguide_loginguidestatus__.a, i.registerCouponProvider = new __WEBPACK_IMPORTED_MODULE_32_bizcommon_registerCouponProvider__.a, window.localStorage.removeItem("P_HOTEL_DETAIL_PART_ROOMS"), window.localStorage.removeItem("P_HOTEL_VENDOR_IFNO"), i.gotoTop = !1, i.hotelQueryProvider = new __WEBPACK_IMPORTED_MODULE_28_bizcommon_hotelqueryprovider__.a, i.selectedStarList = [], i.lowestPrice = 0, i.highestPrice = 2147483647, i
                    }

                    return __WEBPACK_IMPORTED_MODULE_0_tslib__.a(Page, _super), Page.prototype.importHeader = function () {
                        this.headerview = __webpack_require__.e(7).then(__webpack_require__.bind(null, "pUt8")), __WEBPACK_IMPORTED_MODULE_20_commons_util_hostutils__.a.vendor.is("CTRIP") && __webpack_require__.e(9).then(__webpack_require__.bind(null, "2Vyt")).then(function (t) {
                            t.hide()
                        }), $("#header").show(), $("#header").addClass("dl-header")
                    }, Page.prototype.ready = function () {
                        var t = this;
                        _super.prototype.ready.call(this), this.initOverseaStaticMap(), this.autoHideRoomSameTypeHotel(), this.handleInOutDateForBack(), this.initNewInOutDate(), this.initDom(), this.initRoomLoading(), this.hotelQueryProvider.setInoutDay(this.pageData.inday.split("/").join("-"), this.pageData.outday.split("/").join("-"), this.pageData.isMorning && this.morningStore.isMorning()), this.localDate = __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.getServerDate(), "B" !== this.pageData.pictureStyleAB && ("1" !== $(".js_picSeciton").attr("data-isNewPic") ? this.initHeadSlider() : this.initSmallImage()), this.initQuickLogin(), this.morningStore.isMorning() && this.pageData.isMorning ? this.morningStore.setStatus(!0) : this.morningStore.setStatus(!1), this.initFilterSelected(), 1 === this.pageData.isSyncLoadRooms ? (this.roomLoadingStatus = !1, this.pageData.roomsExt = this.pageData.roomextinfo, this.initFastFilter(), this.updateFastFilter(this.filterSelected)) : this.loadRoomListFromServer(this.filterSelected, function () {
                            t.initFastFilter(), t.updateFastFilter(t.filterSelected), t.initBaseRoomExpand()
                        }), this.initSecondaryInfoSection(), Object(__WEBPACK_IMPORTED_MODULE_52__browsehistory__.a)(this), 1 === this.pageData.isSyncLoadRooms && this.initBaseRoomExpand(), this.initLoginGuide(), this.initBottomTips(), this.showNewGuestCouponEntr(), this.showNewGuestCouponEntrCopy();
                        var e = null;
                        this.filterSelected && !__WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty___default()(this.filterSelected) && (e = this.renderRoomListBySelectedFilters(!0), this.renderFilterPanel(this.filterSelected)), this.handleTotalprice(this.pageData.totalprice && 1 === (parseInt(this.pageData.totalprice, 10) && 1)), this.sendRoomPriceUbt(e), this.loadCasTestCode(), this.overseaTraceLog(), __WEBPACK_IMPORTED_MODULE_22_commons_util_messagecenter__.a.subscribe("detail.scroll", function (e) {
                            t.triggerRoomlistTouch = !1, setTimeout(function () {
                                var i = parseInt(t.$(".js_fake_fixed").css("top"), 10);
                                if (0 === e) try {
                                    t.$(".js_fake_fixed").css("top", i - 44)
                                } catch (t) {
                                } else try {
                                    t.$(".js_fake_fixed").css("top", i + 44)
                                } catch (t) {
                                }
                                t.triggerRoomlistTouch = !0
                            }, 400)
                        }), this.initRoomPeopleNumSelect(), this.pageData.isoversea && this.updateChildPolicyBanner(), this.anchorRoom(), this.initPictureStyleAB(), this.initReduceMarketingPopLayerAB(), this.updateRegisterCoupon(), this.initUpdateRoomListInterval()
                    }, Page.prototype.initUpdateRoomListInterval = function () {
                        var t = this, e = this.pageData.updateRoomListTime;
                        if (e) {
                            var i = 1e3 * e || 18e3, a = function () {
                                t.loadRoomListFromServer(t.filterSelected)
                            }, o = setInterval(a, i);
                            $(window).on("scroll", function () {
                                window.clearInterval(o), o = setInterval(a, i)
                            })
                        }
                    }, Page.prototype.initReduceMarketingPopLayerAB = function () {
                        !__WEBPACK_IMPORTED_MODULE_20_commons_util_hostutils__.a.vendor.is("CTRIP") && this.pageData.reduceMarketingPopLayerAB && (this.reduceMarketingPopLayer = new __WEBPACK_IMPORTED_MODULE_61__reduceMarketingPopLayer__.a({
                            wrapper: $(".js_download_guidelayer"),
                            pageData: this.pageData
                        }), this.reduceMarketingPopLayer.show())
                    }, Page.prototype.initPictureStyleAB = function () {
                        if ("B" === this.pageData.pictureStyleAB) {
                            var t = $(".js_hotelname"), e = $(".js_head_abt");
                            if ((t.text() && t.text().replace(/[^\x00-\xff]/g, "00").length) >= 36) {
                                t.addClass("title-min");
                                t.width() === t.parent().width() && (e.addClass("dl-head--abt-overwidth"), t.parents(".msg").addClass("msg-left"))
                            }
                        }
                    }, Page.prototype.anchorRoom = function () {
                        if (this.pageData.isanchor || 0) {
                            var t = $(".dl-sticky") && $(".dl-sticky").height() || 0,
                                e = $(".js_roomlist").offset().top - t;
                            window.scrollTo(0, e)
                        }
                    }, Page.prototype.initRoomPeopleNumSelect = function () {
                        var t = this.searchStatusProvider.getCache().request;
                        if (t && t.roomQuantity) {
                            var e = __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(t.childAges.split("|"), function (t) {
                                return t >= 0
                            }).length;
                            this.$(".js_people_selection").length > 1 && this.$(".js_people_selection").eq(0).html('<div class="cell-star"><em class="txt">\u95f4\u6570</em><span>' + t.roomQuantity + '</span></div>\n                <div class="cell-star"><em class="txt">\u6bcf\u95f4\u6210\u4eba\u6570</em><span>' + t.adultCounts + '</span></div>\n                <div class="cell-star"><em class="txt">\u6bcf\u95f4\u513f\u7ae5\u6570</em><span>' + e + "</span></div>"), this.$(".js_people_selection .adult-children").html("<p>\u95f4\u6570&nbsp;" + t.roomQuantity + "</p><p>\u4eba\u6570&nbsp;" + (t.adultCounts + e) + "</p>"), this.pageData.rcount = t.roomQuantity, this.pageData.adult = t.adultCounts, this.pageData.children = __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(t.childAges.split("|"), function (t) {
                                return t >= 0
                            }), this.renderPriceFilter()
                        }
                    }, Page.prototype.updateCancelEncourage = function (t) {
                        var e = this, i = e.$(".js_detail_cancel_encourage");
                        i && !0 === t && e.$(".js_detail_cancel_encourage").html("<span>\u5df2\u4e3a\u60a8\u6311\u9009\u53ef\u514d\u8d39\u53d6\u6d88\u623f\u578b</span>"), i && !1 === t && e.$(".js_detail_cancel_encourage").html("<span>\u90e8\u5206\u623f\u578b\u53ef\u514d\u8d39\u53d6\u6d88</span>")
                    }, Page.prototype.overseaTraceLog = function () {
                        if (this.pageData.isoversea) {
                            var t = {
                                cityid: this.pageData.cityid,
                                starttime: __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.parse(this.pageData.inday).format("Y-m-d"),
                                endtime: __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.parse(this.pageData.outday).format("Y-m-d"),
                                productid: this.pageData.hotelid,
                                star: this.pageData.star.substr(this.pageData.star.indexOf("\uff08") + 1, 1),
                                brand: this.pageData.brandId,
                                hotellon: this.pageData.lon,
                                hotellat: this.pageData.lat,
                                roomnum: this.pageData.roomlistinfo.rooms.length,
                                bookable_cx: this.pageData.roomlistinfo.searchServiceBookableRoomCount,
                                bookable_zl: this.pageData.roomlistinfo.directBookableRoomCount,
                                price_cx: this.encryptPrice(this.pageData.roomlistinfo.searchServiceBookableLowestPrice),
                                price_zl: this.encryptPrice(this.pageData.roomlistinfo.directBookableLowestPrice),
                                loadtime: new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(__WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.getServerDate()).getTime() - __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.parse(this.pageData.pageStartTime).getTime()
                            };
                            window.__bfi.push(["_tracklog", "hotel_oversea_detailpage_H5", JSON.stringify(t)])
                        }
                    }, Page.prototype.encryptPrice = function (t) {
                        var e = __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.parse(this.pageData.inday);
                        return t * parseInt(e.format("m"), 10) + parseInt(e.format("d"), 10) + this.pageData.hotelid + 2 * this.pageData.cityid
                    }, Page.prototype.renderRoomListBySelectedFilters = function (t) {
                        var e = this.pageData.roomlistinfo && this.pageData.roomlistinfo.isOversea || this.pageData.isoversea,
                            i = this.pageData.roomlistinfo && this.pageData.roomlistinfo.rooms || [],
                            a = this.pageData.roomlistinfo && this.pageData.roomlistinfo.broomTagOrders || [],
                            o = "B" === this.pageData.hotelRoomPicSize, n = "B" === this.pageData.subRoomInfoRefactorAbt,
                            s = new __WEBPACK_IMPORTED_MODULE_41__bizroomfilter__.a({
                                rooms: i,
                                broomTagOrders: a,
                                filter: this.filterSelected,
                                wrapper: this.roomlistBox,
                                isoversea: e,
                                cur: "RMB",
                                isShowAveragedTips: this.pageData.days > 1 || this.pageData.rcount > 1,
                                roomListTilling: this.pageData.roomListTilling,
                                hotelRoomPicSize: o,
                                subRoomInfoRefactor: n
                            });
                        if (s.filter(), s.render(), t) return s.getLowestPirceRoom()
                    }, Page.prototype.initOverseaStaticMap = function () {
                        var t = this;
                        if (this.pageData.isoversea && this.pageData.lon && this.pageData.lat) {
                            var e = this.pageData.lon || "", i = this.pageData.lat || "", a = {
                                type: "staticmap",
                                channel: "HOTEL_H",
                                staticUrl: "/maps/api/staticmap?center=" + i + "," + e + "&zoom=15&size=200x250&maptype=roadmap&markers=icon:https://pages.ctrip.com/hotel_h5/res/img/google-static-local.png%7C" + i + "," + e
                            };
                            __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.post("https://m.ctrip.com/restapi/soa2/12901/getSignatureUrl", a, function (e) {
                                var i = "";
                                e && 200 === parseInt(e.statusCode, 10) && e.signatureUrl && e.signatureUrl.length > 0 && (i = e.signatureUrl), t.$(".js_static_map").attr("style", "background:url(" + i + ") center center,url(https://pages.ctrip.com/hotel_h5/res/img/mapdefault.png);background-size: 100%,cover;background-repeat: no-repeat;")
                            }, function () {
                                t.$(".js_static_map").attr("style", "background:url(https://pages.ctrip.com/hotel_h5/res/img/mapdefault.png) center center;background-size: 100%,cover;background-repeat: no-repeat;")
                            }, 1e4, {dataType: "json"})
                        }
                    }, Page.prototype.initNewInOutDate = function () {
                        this.inOutDate = new __WEBPACK_IMPORTED_MODULE_55__inoutdate__.a({
                            $el: this.$(".js_in_out_day"),
                            pageData: this.pageData,
                            morningStore: this.morningStore
                        }), this.inOutDate.on("onSubmitInOutDay", this.onSubmitNewInOutDay.bind(this)), this.inOutDate.show()
                    }, Page.prototype.handleInOutDateForBack = function () {
                        if ("#gotoBooking" === location.hash || "#gotoSameBrand" === location.hash) {
                            var t = this.searchStatusProvider.getCache();
                            if (t.request) {
                                var e = this.pageData.inday, i = this.pageData.outday, a = this.pageData.days;
                                this.pageData.inday = t.request.checkinDate.substr(0, 4) + "/" + t.request.checkinDate.substr(4, 2) + "/" + t.request.checkinDate.substr(6, 2), this.pageData.outday = t.request.checkoutDate.substr(0, 4) + "/" + t.request.checkoutDate.substr(4, 2) + "/" + t.request.checkoutDate.substr(6, 2), this.pageData.isMorning = t.request.isMorning && this.morningStore.isMorning();
                                var o = __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.getIntervalDay(this.pageData.inday, this.pageData.outday);
                                if (this.pageData.days = this.pageData.isMorning ? o + 1 : o, this.pageData.inday !== e || this.pageData.outday !== i || this.pageData.days !== a) {
                                    var n = /^\/(\w+)\/hotel/.exec(location.pathname) || [], s = n[1] || "webapp",
                                        r = this.pageData.isoversea ? "oversea/" : "",
                                        l = location.origin + "/" + s + "/hotel/" + r + "hoteldetail/" + this.pageData.hotelid + ".html?days=" + this.pageData.days + "&atime=" + this.pageData.inday.split("/").join("") + "&contrl=" + this.pageData.contrl + "&num=" + this.pageData.num + "&biz=" + this.pageData.biz;
                                    history.replaceState({}, document.title, l), this.loadRoomListFromServer(this.filterSelected)
                                }
                                __WEBPACK_IMPORTED_MODULE_51__calendar__.a.call(this)
                            }
                        } else this.searchStatusProvider.setInoutDay(this.pageData.inday.split("/").join(""), this.pageData.outday.split("/").join(""), this.pageData.isMorning && this.morningStore.isMorning())
                    }, Page.prototype.sendRoomPriceUbt = function (t) {
                        try {
                            var e = new __WEBPACK_IMPORTED_MODULE_60__bizcommon_BuryBurnAfterReadingProvider__.a;
                            if (!e.getOneMessage("not_yet_send_list_to_detail_ubt")) return;
                            var i = t || this.getDefaultPriceLowestRoom(),
                                a = JSON.parse(e.getOneMessage("list_to_detail_price_info"));
                            if (i && i.priceInfo) {
                                var o = this.pageData.isoversea ? "o_h5_128_detail_bookable" : "o_h5_80_detail_bookable",
                                    n = {
                                        checkin: this.pageData.inday ? this.pageData.inday.replace(/-/g, "").replace(/\//g, "") : "",
                                        checkout: this.pageData.outday ? this.pageData.outday.replace(/-/g, "").replace(/\//g, "") : "",
                                        hotelid: this.pageData.hotelid,
                                        bookable: 1 === i.status ? 1 : 0,
                                        error: null,
                                        roomid: i.id,
                                        amount: i.priceInfo.cnyOriginalPrice,
                                        price: i.priceInfo.cnyPrice,
                                        isfromlist: "#fromList" === window.location.hash,
                                        shadowid: i.shadowId || "",
                                        ismemberlogin: this.pageData.memberLogin,
                                        hasfilters: this.filterSelected && !__WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty___default()(this.filterSelected),
                                        listBookable: e.getOneMessage("list_to_detail_bookable"),
                                        listInfo: a
                                    };
                                if (a && a.roomid) {
                                    var s = this.getRoomInfoByListRoomID(a.roomid);
                                    n.listRoomBookable = s ? 1 === s.status ? 1 : 0 : -1
                                }
                                this.pageData.isoversea && (n.quantity = this.pageData.rcount), window.__bfi && window.__bfi.push(["_tracklog", o, JSON.stringify(n)])
                            }
                        } catch (t) {
                        }
                    }, Page.prototype.getDefaultPriceLowestRoom = function () {
                        if (this.pageData.roomlistinfo && this.pageData.roomlistinfo.rooms && this.pageData.roomlistinfo.rooms.length > 0) {
                            return __WEBPACK_IMPORTED_MODULE_5_lodash_find___default()(this.pageData.roomlistinfo.rooms, function (t) {
                                return t && t.priceLowestRoom
                            })
                        }
                        return null
                    }, Page.prototype.getRoomInfoByListRoomID = function (t) {
                        if (this.pageData.roomlistinfo && this.pageData.roomlistinfo.rooms && this.pageData.roomlistinfo.rooms.length > 0) {
                            return __WEBPACK_IMPORTED_MODULE_5_lodash_find___default()(this.pageData.roomlistinfo.rooms, function (e) {
                                return e && e.id === t
                            })
                        }
                        return null
                    }, Page.prototype.initLoginGuide = function () {
                        var t = this;
                        if (!this.canShowNewGuestCoupon()) {
                            var e = this.loginguideStatusProvider.getCache();
                            e && e.length > 0 || this.pageData.roomlistinfo && !this.pageData.roomlistinfo.canShowLoginGuide || (this.loginGuide || (this.loginGuide = new __WEBPACK_IMPORTED_MODULE_29_bizcommon_loginguide_loginguide__.a({
                                wrapper: $(".js_login_guide_container"),
                                datamodel: {islist: !1}
                            }), this.loginGuide.on("onLoginSuccess", function () {
                                new __WEBPACK_IMPORTED_MODULE_14_commons_ui_ui_toast__.a({datamodel: {content: "\u767b\u5f55\u6210\u529f"}}).show(), t.refreshPage()
                            }), this.loginGuide.on("CloseByUser", function () {
                                e && e.length > 0 || t.loginguideStatusProvider.setCache("CloseByUser")
                            })), this.loginGuide.show())
                        }
                    }, Page.prototype.canShowNewGuestCoupon = function () {
                        return (!this.channelData || !this.channelData.isHideRedEnvelope) && (this.pageData.newGuestCouponEntrance && this.pageData.newGuestCouponEntrance.showEntrance && this.pageData.newGuestCouponEntrance.canReceive)
                    }, Page.prototype.showNewGuestCouponEntr = function () {
                        var t = this, e = this, i = e.pageData && e.pageData.showLandingPageNewGuestCouponPop || !1;
                        if (this.canShowNewGuestCoupon() && (this.newGuestCouponEntr || (this.newGuestCouponEntr = new __WEBPACK_IMPORTED_MODULE_26_bizcommon_getcoupon_coupon_newguest__.a({
                            wrapper: $(".js_newguestcoupon"),
                            isMemberLogin: this.appData.isMemberLogin,
                            datamodel: {
                                canReceive: this.pageData.newGuestCouponEntrance.canReceive,
                                isOversea: this.pageData.isoversea
                            }
                        }), this.newGuestCouponEntr.on("refreshCallBack", function () {
                            e.loadRoomListFromServer(e.filterSelected, function () {
                            })
                        }), this.newGuestCouponEntr.on("loginShow", function () {
                            e.disableScroll()
                        }), this.newGuestCouponEntr.on("loginHide", function () {
                            t.enableScroll()
                        }), this.newGuestCouponEntr.on("showingLayer", function () {
                            e.disableScroll()
                        }), this.newGuestCouponEntr.on("closeLayer", function () {
                            t.enableScroll()
                        })), this.newGuestCouponEntr.show(), i)) {
                            var a = new __WEBPACK_IMPORTED_MODULE_31_bizcommon_getcoupon_coupon_newguest_entrance_pop__.a;
                            a.on("click", function () {
                                a.hide(), t.newGuestCouponEntr.handleNewGuestCoupon()
                            }), a.showIfExpired()
                        }
                    }, Page.prototype.showNewGuestCouponEntrCopy = function () {
                        var t = this;
                        if (this.canShowNewGuestCoupon()) {
                            this.newGuestCouponEntrCopy = this.$(".js_receive_newguestcoupon_copy"), this.newGuestCouponEntrCopy.on("click", function () {
                                t.newGuestCouponEntr && (t.newGuestCouponEntr.handleNewGuestCoupon(), t.newGuestCouponEntr.on("refreshCallBack", function () {
                                    t.newGuestCouponEntrCopy.hide()
                                }))
                            }).show();
                            var e, i = function () {
                                t.newGuestCouponEntrCopy.addClass("couponIn").removeClass("couponOut"), e && window.clearTimeout(e), e = setTimeout(function () {
                                    t.newGuestCouponEntrCopy.addClass("couponOut").removeClass("couponIn")
                                }, 800)
                            };
                            $(window).on("touchmove scroll", __WEBPACK_IMPORTED_MODULE_11_lodash_throttle___default()(i, 200))
                        }
                    }, Page.prototype.initFastFilter = function () {
                        var t = this.pageData.roomlistinfo.quickFilters || [],
                            e = __WEBPACK_IMPORTED_MODULE_6_lodash_take___default()(t, 4);
                        if (e.length) {
                            var i = "c_hotel_inland_detail_room_filtrate", a = "c_hotel_inland_detail_fast_filter";
                            this.pageData.isoversea && (i = "c_hotel_oversea_detail_room_filtrate", a = "c_hotel_oversea_detail_fast_filter"), this.pageData.isoversea && (e = __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(e, function (t) {
                                return "\u53ef\u8ba2" !== t.item.val
                            }));
                            var o = __WEBPACK_IMPORTED_MODULE_3_lodash_map___default()(e, function (t) {
                                return '<span class="item js_out_filter_span_item" data-value="' + t.item.key + '" data-txt="' + t.item.val + '" data-ftype="' + t.ftype + '" data-ubt-key="' + a + '">' + t.item.val + "</span> "
                            }).join("");
                            if (o += '<span class="item js_room_filter" data-ubt-key="' + i + '" >\u7b5b\u9009<i class="dl-font-arrow-down dl-fn8 ml2"></i><span class=""></span></span>', this.pageData.isoversea) {
                                var n = "\u770b\u603b\u4ef7";
                                parseInt(this.pageData.rcount, 10) > 1 && (n = "\u6bcf\u95f4\u603b\u4ef7"), o += '<span class="item js_see_totalPrice" data-txt="' + n + '" data-ftype="totalprice" data-ubt-key="c_hotel_oversea_detail_fast_filter">' + n + "</span>"
                            }
                            this.fastFilterBox.html(o), this.$(".js_room_filter").show()
                        }
                    }, Page.prototype.initBaseRoomExpand = function () {
                        var t = this.pageData.anchorid;
                        if (t) {
                            var e = this.$('.js_show_baseroom[data-bid="' + t + '"]'),
                                i = e.parent().find(".js_baseroomtoggle");
                            if (i.length) {
                                var a = this.$(".dl-font-fold-up.js_basearrow_icon").parent().parent();
                                i[0] === a[0] && "Wechat" !== this.channelData.subchannel || (a = a.children().eq(0), this.toggleExpandOfElemV2(a, {
                                    noScroll: !0,
                                    show: !1
                                }), this.toggleExpandOfElemV2(i, {noScroll: !0, show: !0}));
                                var o = $(".dl-sticky") && $(".dl-sticky").height() || 0;
                                return "Wechat" !== this.channelData.subchannel && setTimeout(function () {
                                    window.scrollTo(0, i.offset().top - o - 0), $("body").trigger("scroll")
                                }, 1e3), void history.replaceState({}, document.title, window.location.href.replace(/anchorid=\d+/g, ""))
                            }
                        }
                        null == this.scrollTop && setTimeout(function () {
                            window.scrollTo(0, 0)
                        }, 1e3)
                    }, Page.prototype.initPopupLayerData = function () {
                        var t = this, e = this.pageData, i = e.hotelid, a = e.inday, o = e.outday, n = e.hotelchannel,
                            s = e.pay, r = new Date(a);
                        a === o && r.setDate(r.getDate() - 1), r = new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(r).format("Y/m/d");
                        var l = this.pageData.isoversea ? 1 : 0,
                            c = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.a)("room/getrooms/" + i + "?inday=" + r + "&outday=" + o + "&pay=" + s + "&hotelchannel=" + n + "&isoversea=" + l);
                        __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.get(c, {}, function (e) {
                            t.pageData.roomsExt = e
                        }, function () {
                            t.pageData.roomsExt = {}
                        }, 3e4)
                    }, Page.prototype.initSecondaryInfoSection = function () {
                        var t = this, e = this, i = this.pageData, a = i.hotelid, o = i.isoversea, n = i.hotelmid,
                            s = i.daylater, r = this.morningStore.isMorning() ? 1 : 0,
                            l = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("j/hoteldetail/dianping/addinfo/" + a + "?isOversea=" + o + "&mid=" + n + "&days=" + this.pageData.days + "&daylater=" + s + "&ismorning=" + r),
                            c = [];
                        Object(__WEBPACK_IMPORTED_MODULE_56__browsehistory_service__.b)(this.pageData.cityid, 25, 0, 10).forEach(function (e) {
                            e !== t.pageData.hotelid && c.push(e)
                        });
                        var d = {
                            browseHistoryHotelIDs: c,
                            hotelID: a,
                            checkInDate: new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(this.pageData.inday).format("Ymd"),
                            checkOutDate: new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(this.pageData.outday).format("Ymd"),
                            cityID: this.pageData.cityid,
                            semGuideFlowsAbt: this.pageData.abResult && this.pageData.abResult.semGuideToHotelListAB
                        };
                        __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.post(l, d, function (i) {
                            var a = $(i);
                            t.semGuideFlowsEntrance(a);
                            var o = e.$("[data-is-placeholder]");
                            t.showEach(o, a)
                        }, function () {
                        }, 3e4, {dataType: "html"})
                    }, Page.prototype.semGuideFlowsEntrance = function (t) {
                        var e = this.$el.find(".js_sem_b"), i = this.$el.find(".js_sem_c"), a = !(!e || !e[0]),
                            o = !(!i || !i[0]);
                        if ((a || o) && t) {
                            var n = t.filter("#js_bottom_hotelList_content");
                            if (n) {
                                var s = n.find("#js_hotelinfo_data"), r = s && s[0] && s[0].value, l = JSON.parse(r || ""),
                                    c = l && l.semEntrance;
                                if (c && c.showBitMap > 0) {
                                    if (this.pageData.semEntrance = c, a) return void e.find(".js_load_sem").replaceWith(this.buildSemDomB());
                                    o && i.find(".js_load_sem").replaceWith(this.buildSemDomC())
                                } else e && e.hide(), i && i.hide()
                            }
                        }
                    }, Page.prototype.buildSemDomB = function () {
                        if (!this.pageData.semEntrance) return "";
                        var t = "";
                        1 == (1 & this.pageData.semEntrance.showBitMap) ? t = '<div class="item cell-star js_sem_nearby">\u9644\u8fd1\u540c\u7c7b\u578b\u9152\u5e97(' + this.pageData.semEntrance.nearByHotelCount + "\u5bb6)</div>" : 2 == (2 & this.pageData.semEntrance.showBitMap) && (t = '<div class="item cell-star js_sem_hotellist_zone">\u540c\u5546\u5708\u9152\u5e97(' + this.pageData.semEntrance.zoneHotelCount + "\u5bb6)</div>");
                        var e = "";
                        return 4 == (4 & this.pageData.semEntrance.showBitMap) && (e = '<div class="item cell-star js_sem_hotellist">' + this.pageData.semEntrance.cityName + "\u5168\u90e8\u9152\u5e97(" + this.pageData.semEntrance.cityHotelCount + "\u5bb6)</div>"), '<div class="jump-portal dl-cell">' + t + e + "</div>"
                    }, Page.prototype.buildSemDomC = function () {
                        if (!this.pageData.semEntrance) return "";
                        var t = "", e = "";
                        return 1 == (1 & this.pageData.semEntrance.showBitMap) ? (t = '&nbsp;\u5f53\u524d\u9152\u5e97\u4e0d\u5408\u9002\uff1f\u9644\u8fd1\u8fd8\u6709<b class="dl-color3">' + this.pageData.semEntrance.nearByHotelCount + '\u5bb6</b>\u76f8\u4f3c\u9152\u5e97<i class="dl-font-arrow-right dl-color4 ml2"></i>', e = "js_sem_nearby") : 2 == (2 & this.pageData.semEntrance.showBitMap) ? (t = '&nbsp;\u5f53\u524d\u9152\u5e97\u4e0d\u5408\u9002\uff1f\u540c\u5546\u5708\u8fd8\u6709<b class="dl-color3">' + this.pageData.semEntrance.zoneHotelCount + '\u5bb6</b>\u9152\u5e97<i class="dl-font-arrow-right dl-color4 ml2"></i>', e = "js_sem_hotellist_zone") : 4 == (4 & this.pageData.semEntrance.showBitMap) && (t = '&nbsp;\u5f53\u524d\u9152\u5e97\u4e0d\u5408\u9002\uff1f<b class="dl-color3">' + this.pageData.semEntrance.cityHotelCount + '\u5bb6</b>\u540c\u57ce\u9152\u5e97\u7b49\u4f60\u6311<i class="dl-font-arrow-right dl-color4 ml2"></i>', e = "js_sem_hotellist"), '<div class="item dl-color8 dl-fn12 ' + e + '"><img src="" width="13">' + t + "</div>"
                    }, Page.prototype.anchorToNearByHotelList = function () {
                        var t = $(".js_nearby_body");
                        t && t.offset() && window.scrollTo(0, t.offset().top)
                    }, Page.prototype.jumpToHotelListForSem = function () {
                        var t = this.pageData.isoversea ? "overseaHotelList" : "domesticHotelList";
                        history.replaceState({}, document.title, "#gotoHotelList");
                        var e = this.pageData.semEntrance && this.pageData.semEntrance.cityEnName || "city",
                            i = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("" + e + this.pageData.cityid + "?atime=" + this.pageData.atime + "&days=" + this.pageData.days);
                        this.goTo(t, i)
                    }, Page.prototype.jumpToHotelListForSemZone = function () {
                        var t = this.pageData.isoversea ? "overseaHotelList" : "domesticHotelList";
                        history.replaceState({}, document.title, "#gotoHotelList");
                        var e = this.pageData.semEntrance && this.pageData.semEntrance.cityEnName || "city",
                            i = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("" + e + this.pageData.cityid + "/zone" + (this.pageData.semEntrance && this.pageData.semEntrance.zoneId || 0) + "?atime=" + this.pageData.atime + "&days=" + this.pageData.days);
                        this.goTo(t, i)
                    }, Page.prototype.showEach = function (t, e) {
                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(t, function (t) {
                            var i = $(t), a = i.attr("id"), o = e.filter("#" + a + "_content");
                            if (o && o.length) {
                                var n;
                                void 0 !== i.data("parent-may-hidden") && (n = i.parent()), i.children() && i.children().length && o.children().append(i.children()), i.replaceWith(o.children()), i.show(), n && n.show()
                            }
                        })
                    }, Page.prototype.initDom = function () {
                        this.floatableBox = $(".js_floatable_box"), this.roomlistBox = $(".js_roomlist"), this.elroom_filter_amount = $(".js_room_filter_amount"), this.fastFilterBox = $(".js_out_filter"), this.filterButton = $(".js_room_filter")
                    }, Page.prototype.getEvents = function () {
                        return {
                            "click .js_head_slider": this.handleSliderClick,
                            "click .js_goto_map": this.handleGotoMap,
                            "click .js_baseroomtoggle": this.toggleExpand,
                            "click .js_room_filter": this.showFilter,
                            "click .js_btn_confirm, .js_dt-popview, .js_room_filter_btn, .js_dl-popview": this.showInOutDate,
                            "click .js_moreChildrenRoom, .js_moreroom": this.toggleMore,
                            "click .js_bookroom": this.gotoBooking,
                            "click .js_room_filter_panel span": this.removeRoomfilter,
                            "click .js_out_filter_span_item": this.roomFastFilter,
                            "touch .js_out_filter_span_item": this.roomFastFilter,
                            "click .js_show_baseroom": this.showBaseroomLayer,
                            "click .js_roomlist li[data-roomid]": this.showRoomLayer,
                            "click .js_comment,.js_comment_first,.js_comment_tab,.js_comment_viewall,.js_comment_title": this.gotoComment,
                            "click .js_gocomment": this.goComment,
                            "click .js_comment_filter .item": __WEBPACK_IMPORTED_MODULE_49__comment__.b.bind(this),
                            "click .js_ask": __WEBPACK_IMPORTED_MODULE_50__ask__.a.bind(this),
                            "click .js_goto_hotelintro,.js_detail_tab,.js_goto_hotelselling": this.goToHotelIntro,
                            "click .js_bottom_history": this.goToBrowseHistory,
                            "click .js_nearby_hotel": this.goToNearbyHotHotel,
                            "click .js_samebrand_hotel": this.goToSameBrandHotel,
                            "click .js_littleImage_slider": this.handleImageSliderClick,
                            "click .js_additionHotelList": this.onAdditionHotelListClick,
                            "click .js_browsedHistoryHotel": this.onBrowsedHistoryHotelClick,
                            "click .js_additionHotel": this.onAdditionHotelClick,
                            "click .js_more_nearby_hotel": this.onMoreNearbyHotelClick,
                            "click .js_showHiddenRoom": this.showHiddenRooms,
                            "click .js_roomToSameTypeHotel": this.goToNearbyHotHotel,
                            "click .js_hideSameTypeHotel": this.hideRoomSameTypeHotel,
                            "click .js_people_selection": this.showPeopleNumberSelect,
                            "click .js_pop": this.showServiceGuarantee,
                            "click .js_pop_oversea": this.showOverseaServiceGuarantee,
                            "click .js_price_star": this.openPriceStarFilterPanel,
                            "click .js_submit": this.handleGoToHotelList,
                            "click .js_see_totalPrice": this.handleTotalprice,
                            "click .js_show_hotel_info": this.showHotelInfoLayer,
                            "click .js_goto_register": this.goToRegister,
                            "click .js_close_coupon": this.closeCoupon,
                            "click .js_sem_nearby": this.anchorToNearByHotelList,
                            "click .js_sem_hotellist": this.jumpToHotelListForSem,
                            "click .js_sem_hotellist_zone": this.jumpToHotelListForSemZone
                        }
                    }, Page.prototype.goToRegister = function () {
                        var t = this;
                        __webpack_require__.e(3).then(__webpack_require__.bind(null, "DlCs")).then(function (e) {
                            var i = e.default;
                            return t.registerCoupon = new i({
                                pageYOffset: window.pageYOffset,
                                onRegisterSuccess: function () {
                                    setTimeout(function () {
                                        location.reload()
                                    }, 1e3)
                                }
                            }), t.registerCoupon
                        })
                    }, Page.prototype.closeCoupon = function (t) {
                        $(t.currentTarget).parent().hide(), this.storeRegisterCouponCache()
                    }, Page.prototype.storeRegisterCouponCache = function () {
                        var t = this.registerCouponProvider.getCache("hotels") || [];
                        t.indexOf(this.pageData.hotelid) < 0 && (t.push(this.pageData.hotelid), this.registerCouponProvider.setCache("hotels", t))
                    }, Page.prototype.updateRegisterCoupon = function () {
                        if (2 === this.appData.newGusestCouponFlag) {
                            var t = this.registerCouponProvider.getCache("hotels") || [],
                                e = this.$(".js_close_coupon").parent();
                            t.indexOf(this.pageData.hotelid) >= 0 ? e.hide() : e.show()
                        }
                    }, Page.prototype.createPeopleFilterItem = function (t) {
                        var e = __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(t.children, function (t) {
                            return t >= 0
                        });
                        if (0 === e.length && t.room > 1 && 1 === t.adult) return null;
                        if (t.adult > 1 || e.length > 0) {
                            var i = t.adult + __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(e, function (t) {
                                return t > 12
                            }).length, a = "";
                            e.length && (a = "\uff0c" + e.length + "\u513f\u7ae5");
                            return [{key: "people", val: t.adult + "\u6210\u4eba" + a, opt: i, meta: t}]
                        }
                        return null
                    }, Page.prototype.showPeopleNumberSelect = function (t) {
                        var e = this;
                        t.preventDefault(), t.stopPropagation(), this.roomfilter && this.roomfilter.hide();
                        var i = this.$(".js_people_selection"), a = this.pageData.isoversea,
                            o = this.pageData.roomlistinfo && this.pageData.roomlistinfo.rooms || [],
                            n = this.pageData.roomlistinfo && this.pageData.roomlistinfo.broomTagOrders || [],
                            s = ROOM_PEOPLE_DEFAULT_NUM;
                        if (this.filterSelected.people && this.filterSelected.people.length && this.filterSelected.people[0].meta && (s = this.filterSelected.people[0].meta, s.children)) {
                            var r = [];
                            __WEBPACK_IMPORTED_MODULE_2_lodash_forEach___default()(s.children, function (t) {
                                r.push(parseInt(t))
                            }), s.children = r
                        }
                        var l = this.searchStatusProvider.getCache().request;
                        l && l.roomQuantity && (s.room = l.roomQuantity), new __WEBPACK_IMPORTED_MODULE_59__widgets_numselect__.a({
                            datamodel: s,
                            onChanged: function (t) {
                                var s = i.eq(0);
                                i.length > 1 && (i.eq(0).html('<div class="cell-star"><em class="txt">\u95f4\u6570</em><span>' + t.room + '</span></div>\n                <div class="cell-star"><em class="txt">\u6bcf\u95f4\u6210\u4eba\u6570</em><span>' + t.adult + '</span></div>\n                <div class="cell-star"><em class="txt">\u6bcf\u95f4\u513f\u7ae5\u6570</em><span>' + __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(t.children, function (t) {
                                    return t >= 0
                                }).length + "</span></div>"), s = i.eq(1)), s.find(".adult-children").html("<p>\u95f4\u6570&nbsp;" + t.room + "</p><p>\u4eba\u6570&nbsp;" + (__WEBPACK_IMPORTED_MODULE_4_lodash_filter___default()(t.children, function (t) {
                                    return t >= 0
                                }).length + t.adult) + "</p>"), e.pageData.rcount = t.room, e.pageData.adult = t.adult, e.pageData.children = t.children;
                                var r = e.createPeopleFilterItem(t);
                                r ? e.filterSelected.people = r : delete e.filterSelected.people, e.showHiddenRooms(), __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.set(e.filterSelected), e.updateFastFilter(e.filterSelected);
                                var l = "B" === e.pageData.hotelRoomPicSize, c = "B" === e.pageData.subRoomInfoRefactorAbt,
                                    d = new __WEBPACK_IMPORTED_MODULE_41__bizroomfilter__.a({
                                        rooms: o,
                                        broomTagOrders: n,
                                        filter: e.filterSelected,
                                        wrapper: e.roomlistBox,
                                        isoversea: a,
                                        cur: "RMB",
                                        isShowAveragedTips: e.pageData.days > 1 || e.pageData.rcount > 1,
                                        roomListTilling: e.pageData.roomListTilling,
                                        hotelRoomPicSize: l,
                                        subRoomInfoRefactor: c
                                    });
                                d.filter(), d.render(), e.renderPriceFilter(), e.handleTotalprice(), e.updateChildPolicyBanner()
                            }
                        }).show()
                    }, Page.prototype.renderPriceFilter = function () {
                        var t = "\u770b\u603b\u4ef7";
                        parseInt(this.pageData.rcount, 10) > 1 && (t = "\u6bcf\u95f4\u603b\u4ef7"), this.$(".js_see_totalPrice").attr({"data-text": t}).text(t)
                    }, Page.prototype.showServiceGuarantee = function () {
                        this.serviceGuarantee || (this.serviceGuarantee = new __WEBPACK_IMPORTED_MODULE_16_commons_ui_ui_serviceguarantee_layer__.a), this.serviceGuarantee.show()
                    }, Page.prototype.showOverseaServiceGuarantee = function () {
                        this.serviceGuaranteeOversea || (this.serviceGuaranteeOversea = new __WEBPACK_IMPORTED_MODULE_21_commons_ui_oversea_ui_serviceguarantee_layer__.a({datamodel: {from: "detail"}})), this.serviceGuaranteeOversea.show()
                    }, Page.prototype.hideRoomSameTypeHotel = function () {
                        this.$(".js_roomSameTypeHotel").hide(), __WEBPACK_IMPORTED_MODULE_57__HiddenSameTypeHotelStore__.a.add(this.pageData.hotelid)
                    }, Page.prototype.autoHideRoomSameTypeHotel = function () {
                        __WEBPACK_IMPORTED_MODULE_57__HiddenSameTypeHotelStore__.a.contain(this.pageData.hotelid) && this.$(".js_roomSameTypeHotel").hide()
                    }, Page.prototype.goToBrowseHistory = function () {
                        history.replaceState({}, document.title, "#gotoBrowseHistoryList");
                        var t = new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(this.pageData.inday).format("Ymd"),
                            e = new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(this.pageData.outday).format("Ymd"),
                            i = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("browsedhotellist?cid=" + this.pageData.cityid + "&inday=" + t + "&outday=" + e + "&lasthid=" + this.pageData.hotelid);
                        this.goTo("browsedHotelList", i)
                    }, Page.prototype.gotoComment = function (t) {
                        var e = $(t.currentTarget);
                        e.hasClass("js_comment") && 0 === e.find(".js_has_comment").length || (history.replaceState({}, document.title, "#gotoHotelCommentList"), __WEBPACK_IMPORTED_MODULE_49__comment__.a.call(this))
                    }, Page.prototype.goComment = function () {
                        history.replaceState({}, document.title, "#gotoHotelCommentList"), __WEBPACK_IMPORTED_MODULE_49__comment__.a.call(this)
                    }, Page.prototype.showBaseroomLayer = function (t) {
                        this.pageData.isoversea || "B" === this.pageData.roomTypeFloatInfoAdjustmentAB ? this.roompopuplayer = __WEBPACK_IMPORTED_MODULE_46__popupui_roompopupuinew_baseroompopupnew__.a.show(this.pageData, t, this) : this.roompopuplayer = __WEBPACK_IMPORTED_MODULE_44__popupui_baseroompopup__.a.show(this.pageData, t, this)
                    }, Page.prototype.showRoomLayer = function (t) {
                        var e = $(t.currentTarget);
                        this.pageData.isoversea || "B" === this.pageData.roomTypeFloatInfoAdjustmentAB ? !0 === e.data("list") ? this.roompopuplayer = __WEBPACK_IMPORTED_MODULE_47__popupui_roompopupuinew_roompopupnew__.a.show(this.pageData, t, !1) : this.roompopuplayer = __WEBPACK_IMPORTED_MODULE_47__popupui_roompopupuinew_roompopupnew__.a.show(this.pageData, t, !0) : !0 === e.data("list") ? this.roompopuplayer = __WEBPACK_IMPORTED_MODULE_45__popupui_roompopup__.default.show(this.pageData, t, !1) : this.roompopuplayer = __WEBPACK_IMPORTED_MODULE_45__popupui_roompopup__.default.show(this.pageData, t, !0)
                    }, Page.prototype.showHotelInfoLayer = function (e) {
                        var target = $(e.currentTarget), type = target.data("type"), showData = {},
                            hotelInfoData = JSON.parse(document.getElementById("js_hotelinfo_data").value);
                        "policies" === type && hotelInfoData && (showData.policies = hotelInfoData.policies, showData.childpocily = hotelInfoData.childpocily, showData.title = "\u9152\u5e97\u653f\u7b56", void 0 != this.pageData.children && eval(this.pageData.children.join("+")) > -3 ? showData.isChildScene = !0 : showData.isChildScene = !1), "facilities" === type && hotelInfoData && (showData.facilities = hotelInfoData.facilities, showData.meeting = hotelInfoData.meeting, showData.title = "\u9152\u5e97\u8bbe\u65bd"), "feature" === type && hotelInfoData && (showData.featureinfo = hotelInfoData.featureinfo || "", showData.featurelists = hotelInfoData.featurelists || [], showData.lightpoint = hotelInfoData.hproinfo && hotelInfoData.hproinfo.lightPoint || "", showData.tip = hotelInfoData.hproinfo && hotelInfoData.hproinfo.tip || "", showData.threedesc = hotelInfoData.threedesc || [], showData.title = "\u9152\u5e97\u7279\u8272"), this.hotelInfoPopuplayer = __WEBPACK_IMPORTED_MODULE_48__popupui_hotelinfopopup__.a.show(showData);
                        var swrapHeight = $(".js_swrapper").offset() && $(".js_swrapper").offset().height;
                        swrapHeight < 300 && ($(".js_swrapper").css("height", "300px"), $(".dl-policy-layer").css("min-height", "14rem"))
                    }, Page.prototype.initRoomLoading = function () {
                        this.roomLoadingHtml = this.$(".js_roomlist_loading").clone().wrap("<p>").parent().html(), this.roomLoadingStatus = !0
                    }, Page.prototype.setRoomLoading = function (t) {
                        t ? (this.roomlistBox.html(this.roomLoadingHtml), this.roomLoadingStatus = !0) : (this.roomlistBox.html(""), this.roomLoadingStatus = !1)
                    }, Page.prototype.isRoomLoading = function () {
                        return !!this.roomLoadingStatus
                    }, Page.prototype.gotoBooking = function (t) {
                        var e = new __WEBPACK_IMPORTED_MODULE_60__bizcommon_BuryBurnAfterReadingProvider__.a;
                        e.setOneMessage("not_yet_send_detail_to_booking_ubt", 1), e.setOneMessage("detail_to_booking_bookable", 1);
                        var i = $(t.currentTarget), a = i.parent(), o = parseInt(a.data("roomid"), 10),
                            n = parseInt(a.data("shadowid"), 10);
                        history.replaceState({}, document.title, "#gotoBooking");
                        var s = Object(__WEBPACK_IMPORTED_MODULE_43__booking__.a)(this.pageData, o, n),
                            r = this.filterSelected;
                        this.sendBookRoomUBT(s, a, r), Object(__WEBPACK_IMPORTED_MODULE_43__booking__.b)(s, "detail"), __WEBPACK_IMPORTED_MODULE_24_commons_history__.a.addHistory("detail", location.href), t.stopImmediatePropagation()
                    }, Page.prototype.sendBookRoomUBT = function (t, e, i) {
                        try {
                            var a = t.room, o = t.page,
                                n = o.isoversea ? "o_h5_128_detail_booking_roomIndex" : "o_h5_80_detail_booking_roomIndex",
                                s = Object.getOwnPropertyNames(i).length, r = {bedtype: 1, breakfast: 2}, l = [];
                            for (var c in i) {
                                var d = i[c];
                                l.push({order: r[c] || 3, type: c, filteritem: d})
                            }
                            l.sort(function (t, e) {
                                return t.order - e.order
                            });
                            var h = {
                                baseroom: a.bname,
                                index: parseInt(e.data("index"), 10),
                                isGuessYouLike: $(e.parent()).find(".highlight").length > 0 ? "T" : "F",
                                isMultiFilter: s > 2 ? "T" : "F",
                                filteritem1: l.length > 0 ? l[0].filteritem.map(function (t) {
                                    return t.val
                                }).join(",") : [],
                                filteritem2: l.length > 1 ? l[1].filteritem.map(function (t) {
                                    return t.val
                                }).join(",") : [],
                                isNoBreakLowPrice: "\u4e0d\u542b\u65e9\u9910" === a.breakfast && a.priceLowestRoom ? "T" : "F",
                                isWithBreakLowPrice: "\u4e0d\u542b\u65e9\u9910" !== a.breakfast && a.priceLowestRoom ? "T" : "F",
                                isDoubleBreakLowPrice: "\u53cc\u4efd\u65e9\u9910" === a.breakfast && a.priceLowestRoom ? "T" : "F"
                            };
                            window.__bfi.push(["_tracklog", n, JSON.stringify(h)])
                        } catch (t) {
                        }
                    }, Page.prototype.getHeaderSettings = function () {
                        var t = this;
                        return {
                            events: {"click .js_back": t.handleBack, "click .js-favorite": t.handleFavorite},
                            isBindEvtOnly: !0
                        }
                    }, Page.prototype.getPageScrollHandlers = function () {
                        var t = this, e = window.navigator.userAgent;
                        if (!("B" === this.pageData.pictureStyleAB && e.indexOf("Huawei") >= 0)) {
                            var i = $("#header"), a = i.find(".cm-header"), o = $(window);
                            this.scrollTop = $("body").scrollTop();
                            return {
                                scroll: function () {
                                    var e = "TieYou" !== t.channelData.subchannel && "OPPO" !== t.channelData.subchannel;
                                    e && __WEBPACK_IMPORTED_MODULE_35__headscroller__.a.call(t, [o, a, "dt-header-transparent", 153]), __WEBPACK_IMPORTED_MODULE_36__bodyscroller__.a.call(t, [$("body"), $("#header"), $(".js_floatable_box").parent(), t, !e])
                                }.bind(this), scrollRoomlist: this.scrollRoomlist.bind(this)
                            }
                        }
                    }, Page.prototype.scrollRoomlist = function () {
                        var t = $("#header .cm-header") && $("#header .cm-header").offset() || 0;
                        this.$(".dt-h94-test").removeClass("dt-h94");
                        var e = this.floatableBox.parent().parent().offset(),
                            i = document.scrollingElement ? document.scrollingElement.scrollTop : document.body.scrollTop,
                            a = t ? t.height : 0;
                        __WEBPACK_IMPORTED_MODULE_20_commons_util_hostutils__.a.vendor.is("CTRIP") && (a = 0), i + a > e.top ? (__WEBPACK_IMPORTED_MODULE_20_commons_util_hostutils__.a.vendor.is("CTRIP") && this.floatableBox.css("top", "0px"), this.floatableBox.parent().addClass("hotel-fixed-top"), this.$(".dt-h94-test").css({minHeight: $(".js_floatable_box").height()})) : (this.floatableBox.parent().removeClass("hotel-fixed-top"), this.$(".dt-h94-test").css({minHeight: $(".js_floatable_box").height()})), this.controlBottomShowAndHide(), this.lastGotoTop && (this.gotoTop = !1, this.bottomTips && this.bottomTips.hide(), this.lastGotoTop = !1)
                    }, Page.prototype.controlBottomShowAndHide = function () {
                        if (!this.gotoTop && this.bottomTips) {
                            var t = $($(".js_roomlist .item")[0]).offset();
                            if (t) {
                                var e = 2 * t.height, i = this.floatableBox.parent().offset().height,
                                    a = $("#header .cm-header") && $("#header .cm-header").offset() && $("#header .cm-header").offset().height || 0;
                                $(".js_for_bottom_tips").offset().top - (e + i + (document.documentElement.scrollTop || document.body.scrollTop) + a) <= 0 ? this.bottomTips.show() : this.bottomTips.hide()
                            }
                        }
                    }, Page.prototype.initBottomTips = function () {
                        var t = this;
                        this.pageData && this.pageData.roomlistinfo.canShowLookRoomBtn && (this.bottomTips || (this.bottomTips = new __WEBPACK_IMPORTED_MODULE_58__bottomTipsV2__.a({
                            wrapper: $(".hotel-g-space"),
                            datamodel: {roomstatus: this.pageData.roomlistinfo.canShowRoomNervousStatus ? "\u90e8\u5206\u623f\u578b\u623f\u91cf\u7d27\u5f20" : this.pageData.roomlistinfo.latesetBookTime}
                        })), this.bottomTips.on("gotoTopRoom", function () {
                            $(".dl-sticky").attr("style", "position: sticky"), t.gotoTop = !0;
                            var e = $(".js_roomlist .item .js_baseroomtoggle").eq(0);
                            if (e && e.length <= 0) {
                                if ((e = $(".js_roomlist .item").eq(0)) && e.length <= 0) return;
                                return void t.scrollToRoom(e, !0)
                            }
                            t.gotoTopRoom(e)
                        }))
                    }, Page.prototype.gotoTopRoom = function (t) {
                        var e = t.parent("li");
                        e = t.parent().parent("li");
                        var i = e.find(".js_basearrow_icon"), a = e.next("ul"), o = "font-dt-icon-fold-up";
                        i.hasClass(o) ? this.scrollToRoom(e, !0) : (i.removeClass("font-dt-icon-fold-down"), i.addClass(o), a.show(), this.animationHandler = null, this.scrollToRoom(e, !0))
                    }, Page.prototype.scrollDateBox = function () {
                        var t = this.$el.find(".js_in_out_day_filter").height();
                        document.body.clientHeight + this.$(".js_in_out_day_filter").height() > this.$el.height() && this.$el.height(document.body.clientHeight + t), t = this.$(".dt-h94-test").offset().top - 46, document.body.scrollHeight - window.innerHeight < t && this.$el.css({height: window.innerHeight + t + "px"}), window.scrollY > 10 && window.scrollY - t < 0 && window.scrollY - t > -20 || window.scrollTo(0, t)
                    }, Page.prototype.handleBack = function () {
                        !this.pageData.isHistoryBack || !this.pageData.isFromJavaList ? this.backV2({
                            searchlist: {
                                days: this.pageData.days,
                                daylater: this.pageData.daylater,
                                delay: this.pageData.daylater,
                                atime: this.pageData.atime,
                                lastpg: "gotoDetail",
                                city: this.pageData.cityid,
                                ___urlHash: "gotoDetail"
                            },
                            browsedHotelList: {
                                days: this.pageData.days,
                                atime: this.pageData.atime,
                                inday: "",
                                outday: "",
                                lastpg: "gotoDetail",
                                ___urlHash: "gotoDetail"
                            },
                            samebrandhotellist: {
                                days: this.pageData.days,
                                atime: this.pageData.atime,
                                inday: this.pageData.inday.split("/").join(""),
                                outday: this.pageData.outday.split("/").join(""),
                                lastpg: "gotoDetail",
                                ___urlHash: "gotoDetail"
                            },
                            comment: {lastpg: "gotoDetail", ___urlHash: "gotoDetail"}
                        }) : ((__WEBPACK_IMPORTED_MODULE_24_commons_history__.a.stack.top() || {}).id === this.pageName && __WEBPACK_IMPORTED_MODULE_24_commons_history__.a.stack.pop(), history.back())
                    }, Page.prototype.handleFavorite = function (t) {
                        var e = this, i = this, a = $(t.currentTarget), o = "font-dt-icon-full-heart",
                            n = "font-dt-icon-heart";
                        o = "dl-font-full-heart head-font", n = "dl-font-heart head-font";
                        var s = function () {
                            __WEBPACK_IMPORTED_MODULE_37__favorite__.a.add(e.pageData.hotelid, e.pageData.cityid, function (t) {
                                t && (a.removeClass(n), a.addClass(o), i.toastFavoriteSuccess.show())
                            })
                        };
                        a.hasClass(o) ? function () {
                            __WEBPACK_IMPORTED_MODULE_37__favorite__.a.remove(i.pageData.hotelid, function (t) {
                                t && (a.removeClass(o), a.addClass(n), i.toastCancelFavoriteSuccess.show())
                            })
                        }() : i.appData.isMemberLogin ? s() : __WEBPACK_IMPORTED_MODULE_20_commons_util_hostutils__.a.vendor.is("CTRIP") ? Promise.all([new Promise(function (t) {
                            t()
                        }).then(__webpack_require__.bind(null, "IJ3o")), __webpack_require__.e(2).then(__webpack_require__.bind(null, "Li3Y"))]).then(function (t) {
                            var e = t[0], i = t[1];
                            new e.Fn("member_login", function (t) {
                                i.setUserInfo(t.data), i.setAuthCookie(t.data.Auth), s()
                            }).run()
                        }) : ($("#header").find(".cm-header").attr({style: "backgroundColor: rgb(9, 159, 222)"}), i.showLogin(function () {
                            $("#header").find(".cm-header").css({zIndex: 4e3}), s(), i.appData.isMemberLogin = !0, i.loadRoomListFromServer(i.filterSelected, function () {
                                i.initFastFilter(), i.updateFastFilter(i.filterSelected), i.handleTotalprice(), i.showNewGuestCouponEntrCopy()
                            })
                        }))
                    }, Page.prototype.initHeadSlider = function () {
                        var t = this.pageData.sliderpics.pictures, e = this.pageData.sliderpics.size, i = this;
                        if (t && t.length) {
                            this.$(".js_goto_images .photo-font").html('<i class="dl-font-photo"></i>' + e), t.forEach(function (t) {
                                t.src = Object(__WEBPACK_IMPORTED_MODULE_18_commons_util_imageutils__.c)(t) + "?v=1", t.pagecode = "H5HotelDetail"
                            });
                            var a = i.$(".js_head_slider");
                            new __WEBPACK_IMPORTED_MODULE_15_commons_ui_ui_mslider__.a({
                                data: t,
                                maxJump: !0,
                                container: a,
                                scope: i,
                                remainContainer: !0,
                                oncreate: function () {
                                    var t = this;
                                    if (i.$(".js_goto_images").html('<span class="photo-font"><i class="dl-font-photo"></i></span>' + e).show(), $.os.ios) {
                                        var o, n = $("body"), s = function () {
                                            var t, e = a.parent(), i = e.height(), o = !1, n = 0, s = i;
                                            return {
                                                start: function (i, a) {
                                                    o = !0, n = a, t = i, e.removeClass("dt-transition"), t.removeClass("dt-transition")
                                                }, end: function () {
                                                    var a = s / i;
                                                    return o ? (o = !1, n = 0, e.addClass("dt-transition"), t.addClass("dt-transition"), t.css("transform", ""), t = null, a) : a
                                                }, isEnabled: function () {
                                                    return o
                                                }, doScale: function (e) {
                                                    var a = e - n;
                                                    if (a < 0) this.end(); else {
                                                        s = i + .5 * a;
                                                        var o = s / i;
                                                        t.css("transform", "scale(" + o + ")")
                                                    }
                                                }
                                            }
                                        }();
                                        n.on("touchstart", function (t) {
                                            o = t.touches[0].clientY
                                        }).on("touchmove", function (e) {
                                            t.roompopuplayer && "show" === t.roompopuplayer.status || (!s.isEnabled() && n.scrollTop() <= 0 && o < e.touches[0].clientY && s.start(a.find(".js_slider_item.current"), e.touches[0].clientY), o > e.touches[0].clientY && s.end(), s.isEnabled() && (s.doScale(e.touches[0].clientY), e.preventDefault(), e.stopPropagation()))
                                        }).on("touchend", function () {
                                            s.end()
                                        })
                                    }
                                },
                                onchange: function (t) {
                                },
                                onmaxAction: function () {
                                    i.handleSliderClick()
                                }
                            })
                        } else {
                            var o = this.$(".js_slider_item");
                            o && o.find("img").length && o.find("img").attr("src", "https://pages.ctrip.com/hotel_h5/res/img/detail-no-photo.jpg")
                        }
                    }, Page.prototype.initSmallImage = function () {
                        var t = this.pageData.sliderpics.pictures, e = [];
                        t && t.length && t.forEach(function (t) {
                            t.src = Object(__WEBPACK_IMPORTED_MODULE_18_commons_util_imageutils__.a)(t), e.push('<li class="item"><img src="' + t.src + '" data-imgid="' + t.imgId + '"></li>')
                        }), $(".js_littleImage_slider").html(e.join("") + $("#j_defalut_smallPic").html())
                    }, Page.prototype.handleSliderClick = function () {
                        var t = this.pageData;
                        if (0 != t.sliderpics.size) {
                            var e = this.pageData.atime ? "&atime=" + this.pageData.atime : "",
                                i = location.search.match(/totalprice=\d/) ? location.search.match(/totalprice=\d/)[0] : "totalprice=0",
                                a = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("hoteldetail/pic/" + t.hotelid + ".html?" + i + "&days=" + this.pageData.days + e);
                            history.replaceState({}, document.title, "#gotoHotelPics"), this.goTo("hoteldetailimages", a)
                        }
                    }, Page.prototype.handleImageSliderClick = function (t) {
                        var e = $(t.target);
                        if (e && e.attr("tagName") && "img" === e.attr("tagName").toLowerCase()) {
                            var i = e.attr("data-imgId");
                            burnAfterBurnStore.setAttr("anchorImgId", i || ""), this.handleSliderClick()
                        }
                    }, Page.prototype.onAdditionHotelListClick = function (t) {
                        var e = $(t.currentTarget)[0];
                        this.$(".js_additionHotelList").removeClass("current"), $(e).addClass("current");
                        var i = this.$(".js_browsedHistoryHotelList");
                        i && i.hide();
                        var a = this.$(".js_nearbyHotelList");
                        a && a.hide();
                        var o = this.$(".js_sameBrandHotelList");
                        switch (o && o.hide(), e.dataset.id) {
                            case"nearbyHotel":
                                a.show();
                                break;
                            case"sameBrand":
                                o.show();
                                break;
                            default:
                                i.show()
                        }
                    }, Page.prototype.onBrowsedHistoryHotelClick = function (t) {
                        var e = $(t.currentTarget), i = e[0].dataset.id,
                            a = this.pageData.atime ? "&atime=" + this.pageData.atime : "",
                            o = a ? "" : "&daylater=" + this.pageData.daylater,
                            n = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("hoteldetail/" + i + ".html?days=" + this.pageData.days + o + a + "&num=1&biz=" + this.pageData.biz + "&pageName=hoteldetail");
                        this.goTo("detail", n)
                    }, Page.prototype.onAdditionHotelClick = function (t) {
                        var e = $(t.currentTarget), i = e[0].dataset.id,
                            a = this.pageData.atime ? "&atime=" + this.pageData.atime : "",
                            o = a ? "" : "&daylater=" + this.pageData.daylater, n = this.pageData.contrl,
                            s = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("hoteldetail/" + i + ".html?days=" + this.pageData.days + o + a + "&num=1&biz=" + this.pageData.biz + "&contrl=" + n);
                        this.goTo("detail", s)
                    }, Page.prototype.onMoreNearbyHotelClick = function () {
                        var t = new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(this.pageData.inday).format("Ymd"),
                            e = new __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a(this.pageData.outday).format("Ymd"),
                            i = this.pageData.contrl,
                            a = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("nearbyhotellist?hid=" + this.pageData.hotelid + "&inday=" + t + "&outday=" + e + "&contrl=" + i);
                        this.goTo("nearbyhotellist", a)
                    }, Page.prototype.handleGotoMap = function () {
                        var t = this.pageData, e = this.pageData.isoversea ? "oversea/" : "";
                        history.replaceState({}, document.title, "#gotoHoteMap");
                        var i = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)(e + "hoteldetail/map/" + t.hotelid + ".html?pos=" + t.lat + "," + t.lon + "&title=" + encodeURIComponent(t.hotelname) + "&maptag=-1");
                        this.goTo("detailmap", i)
                    }, Page.prototype.toggleExpand = function (t) {
                        var e = $(t.currentTarget);
                        this.toggleExpandOfElemV2(e)
                    }, Page.prototype.toggleExpandOfElem = function (t, e) {
                        var i = t.parent("li");
                        if (i.length) {
                            i.hasClass("js_fake_fixed") && __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(i.parent().find("li"), function (t) {
                                return i.children().eq(0).data("bid") !== $(t).children().eq(0).data("bid") || (i.remove(), i = $(t), !1)
                            });
                            var a = t.parent("li").find(".js_basearrow_icon"), o = i.next("ul"), n = "font-dt-icon-fold-up",
                                s = e || {};
                            if (a.hasClass(n)) {
                                if (!0 === s) return;
                                a.removeClass(n), a.addClass("font-dt-icon-fold-down"), o.hide()
                            } else a.removeClass("font-dt-icon-fold-down"), a.addClass(n), o.show(), this.animationHandler = null, this.scrollToRoom(i)
                        }
                    }, Page.prototype.toggleExpandOfElemV2 = function (t, e) {
                        var i = t.parent().parent("li");
                        if (i.length) {
                            i.hasClass("js_fake_fixed") && __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(i.parent().find("li"), function (t) {
                                return i.children().eq(0).data("bid") !== $(t).children().eq(0).data("bid") || (i.remove(), i = $(t), !1)
                            });
                            var a = t.parent().parent("li").find(".js_basearrow_icon"), o = i.next("ul"),
                                n = "dl-font-fold-up", s = e || {};
                            if (a.hasClass(n)) {
                                if (!0 === s) return;
                                a.removeClass(n), a.addClass("dl-font-fold-down"), o.hide()
                            } else a.removeClass("dl-font-fold-down"), a.addClass(n), o.show(), this.animationHandler = null, this.scrollToRoom(i)
                        }
                    }, Page.prototype.scrollToRoom = function (t, e) {
                        var i = this;
                        this.__fixRoomli = t;
                        var a = window.scrollY, o = this.floatableBox.parent().offset().height;
                        o = -1 !== (window.getComputedStyle($(".dl-sticky")[0]) && window.getComputedStyle($(".dl-sticky")[0]).position || "").indexOf("sticky") ? $(".dl-sticky") && $(".dl-sticky").offset() && $(".dl-sticky").offset().height : 0;
                        var n = 0;
                        $("#header") && 1 === parseInt($("#header").css("opacity"), 10) && (n = $(".cm-header").height());
                        var s = $(".js_login_guide_pop"), r = 0;
                        if (this.gotoTop && s && s.length > 0 && (r = s.offset().height), Math.abs(a - (t.offset().top + r - o - n)) < 10 && this.animationHandler || e) return cancelAnimationFrame(this.animationHandler), window.scrollTo(0, t.offset().top - o - n), void(this.lastGotoTop = !0);
                        a > t.offset().top - o - n ? a -= 10 : a < t.offset().top - o - n && (a += 10), window.scrollTo(0, a), this.animationHandler = requestAnimationFrame(function () {
                            i.scrollToRoom(t)
                        })
                    }, Page.prototype.showFilter = function () {
                        if (!this.isRoomLoading()) {
                            var t = this;
                            if (this.pageData && this.pageData.roomlistinfo && this.pageData.roomlistinfo.filters && this.pageData.roomlistinfo.filters.length) {
                                var e = this.pageData.roomlistinfo.rooms, i = this.pageData.roomlistinfo.broomTagOrders;
                                this.scrollDateBox(), this.roomfilter = new __WEBPACK_IMPORTED_MODULE_40__roomfilter__.a({
                                    datamodel: {
                                        filters: this.pageData.roomlistinfo.filters,
                                        quickFilters: this.pageData.roomlistinfo.quickFilters,
                                        roomListFilterModifyAB: this.pageData.roomListFilterModify,
                                        _: {
                                            each: __WEBPACK_IMPORTED_MODULE_1_lodash_each___default.a,
                                            filter: __WEBPACK_IMPORTED_MODULE_4_lodash_filter___default.a
                                        }
                                    },
                                    wrapper: this.floatableBox,
                                    needRootWrapper: !1,
                                    selected: this.filterSelected,
                                    onsubmit: function (a, o) {
                                        if (t.showHiddenRooms(), t.filterSelected.people && (a.people = t.filterSelected.people), a.hasOwnProperty("pricerange") && a.hasOwnProperty("pricerangedf") && (a.pricerangedf = void 0), t.filterSelected = a, __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.set(a), t.updateFastFilter(a), o) t.loadRoomListFromServer(a); else {
                                            var n = "B" === t.pageData.hotelRoomPicSize,
                                                s = "B" === t.pageData.subRoomInfoRefactorAbt,
                                                r = new __WEBPACK_IMPORTED_MODULE_41__bizroomfilter__.a({
                                                    rooms: e,
                                                    broomTagOrders: i,
                                                    filter: a,
                                                    wrapper: t.roomlistBox,
                                                    isoversea: t.pageData.roomlistinfo.isOversea,
                                                    cur: "RMB",
                                                    isShowAveragedTips: t.pageData.days > 1 || t.pageData.rcount > 1,
                                                    roomListTilling: t.pageData.roomListTilling,
                                                    hotelRoomPicSize: n,
                                                    subRoomInfoRefactor: s
                                                });
                                            r.filter(), r.render(), t.handleTotalprice()
                                        }
                                        this.hide()
                                    },
                                    onshow: function () {
                                        t.disableScroll()
                                    },
                                    onhide: function () {
                                        t.enableScroll(), $("#header").show()
                                    }
                                }), this.roomfilter.show(), this.hideInOutDate();
                                var a = void 0;
                                window.clearTimeout(a), a = window.setTimeout(function () {
                                    $(".js_newguestcoupon").hide(), $("#header").hide()
                                }, 50)
                            }
                        }
                    }, Page.prototype.hideInOutDate = function () {
                        this.inOutDate.hide(), this.$(".dt-popview").addClass("js_dt-popview").css("border-top", "0rem solid transparent")
                    }, Page.prototype.showInOutDate = function (t) {
                        t.currentTarget === t.target && this.inOutDate.show()
                    }, Page.prototype.showHiddenRooms = function () {
                        this.$(".js_showHiddenRoom").hide(), this.$(".js_hiddenRoom").show()
                    }, Page.prototype.removeRoomfilter = function (t) {
                        if (!this.isRoomLoading()) {
                            var e = $(t.currentTarget), i = e.data("type"), a = e.data("value"), o = this.filterSelected[i];
                            if ("people" === i && o && o.length && o[0].meta && (this.$(".js_children_tips").hide(), this.pageData.rcount = o[0].meta.room, this.pageData.adult = ROOM_PEOPLE_DEFAULT_NUM.adult, this.pageData.children = ROOM_PEOPLE_DEFAULT_NUM.children, this.searchStatusProvider.setRoomPeople({
                                room: o[0].meta.room,
                                adult: ROOM_PEOPLE_DEFAULT_NUM.adult,
                                children: ROOM_PEOPLE_DEFAULT_NUM.children
                            }), this.filterSelected && this.filterSelected.people && delete this.filterSelected.people, history.replaceState({}, document.title, window.location.href.replace(/adult=\d+&child=[\d-_]+/g, ""))), o && o.length) {
                                var n = __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(o, function (t) {
                                    return t.key === a
                                });
                                n >= 0 && (o.splice(n, 1), 0 === o.length && delete this.filterSelected[i], this.isUpdateFilter(i))
                            }
                            "service" === i && 2 === a && this.updateCancelEncourage(!1), __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.set(this.filterSelected)
                        }
                    }, Page.prototype.isUpdateFilter = function (t) {
                        var e = this;
                        if ("paytype" === t) this.loadRoomListFromServer(this.filterSelected, function () {
                            e.updateFastFilter(e.filterSelected)
                        }); else {
                            var i = this.pageData.roomlistinfo.rooms, a = this.pageData.roomlistinfo.broomTagOrders,
                                o = "B" === this.pageData.hotelRoomPicSize,
                                n = "B" === this.pageData.subRoomInfoRefactorAbt,
                                s = new __WEBPACK_IMPORTED_MODULE_41__bizroomfilter__.a({
                                    rooms: i,
                                    broomTagOrders: a,
                                    filter: this.filterSelected,
                                    wrapper: this.roomlistBox,
                                    isoversea: this.pageData.isoversea,
                                    cur: "RMB",
                                    isShowAveragedTips: this.pageData.days > 1 || this.pageData.rcount > 1,
                                    roomListTilling: this.pageData.roomListTilling,
                                    hotelRoomPicSize: o,
                                    subRoomInfoRefactor: n
                                });
                            s.filter(), s.render(), this.updateFastFilter(this.filterSelected)
                        }
                        var r = this.roomlistBox.offset(), l = r ? r.top : 0,
                            c = this.floatableBox.height() || $(".dl-sticky") && $(".dl-sticky").height(),
                            d = $("#header .cm-header") && $("#header .cm-header").height() || 0,
                            h = parseInt(l - c - d, 10) || 0;
                        window.scrollTo(0, h)
                    }, Page.prototype.roomFastFilter = function (t) {
                        if (!(this.isRoomLoading() || t.currentTarget.getAttribute("class").indexOf("js_room_filter") > -1)) {
                            this.showHiddenRooms();
                            var e = $(t.currentTarget);
                            if (!e.hasClass("disabled")) {
                                var i = this.filterSelected || {}, a = e.hasClass("current"), o = e.data("value"),
                                    n = e.data("txt"), s = e.data("ftype"), r = i[s];
                                if (a) {
                                    if (r && r.length) {
                                        var l = __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(r, function (t) {
                                            return t.key === o
                                        });
                                        l >= 0 && (r.splice(l, 1), 0 === r.length ? delete i[s] : i[s] = r)
                                    }
                                    2 === o && this.updateCancelEncourage(!1)
                                } else r = r || [], r.push({
                                    key: o,
                                    val: n
                                }), i[s] = r, "breakfast" === s && 1 === o && i.breakfast && (i.breakfast = [{
                                    key: o,
                                    val: n
                                }]);
                                __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.set(i), this.updateFastFilter(i);
                                var c = "B" === this.pageData.hotelRoomPicSize,
                                    d = "B" === this.pageData.subRoomInfoRefactorAbt,
                                    h = new __WEBPACK_IMPORTED_MODULE_41__bizroomfilter__.a({
                                        rooms: this.pageData.roomlistinfo.rooms,
                                        broomTagOrders: this.pageData.roomlistinfo.broomTagOrders,
                                        filter: i,
                                        wrapper: this.roomlistBox,
                                        isoversea: this.pageData.isoversea,
                                        cur: "RMB",
                                        isShowAveragedTips: this.pageData.days > 1 || this.pageData.rcount > 1,
                                        roomlistShowLeftroom: this.pageData.roomlistShowLeftroom,
                                        roomListTilling: this.pageData.roomListTilling,
                                        hotelRoomPicSize: c,
                                        subRoomInfoRefactor: d
                                    });
                                h.filter(), h.render(), this.handleTotalprice()
                            }
                        }
                    }, Page.prototype.updateFastFilter = function (t) {
                        var e = this, i = Object.keys(t || {});
                        i.length > 1 || i.length > 0 && !t.people ? this.elroom_filter_amount.show() : this.elroom_filter_amount.hide(), i.length > 1 || i.length > 0 && !t.people ? $(".js_room_filter").find("span").addClass("selected") : $(".js_room_filter").find("span").removeClass("selected");
                        var a = this.fastFilterBox.find("span");
                        if (__WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (i) {
                            var a = $(i);
                            if (a.hasClass("js_see_totalPrice")) return void(e.totalpriceClicked && a.addClass("current"));
                            var o = a.data("value"), n = a.data("ftype");
                            __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(Object.keys(t), function (e) {
                                return e === n && __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(t[e], function (t) {
                                    return t.key === o
                                }) >= 0
                            }) >= 0 ? a.addClass("current") : a.removeClass("current")
                        }), 0 === a.length ? this.filterButton.hide() : this.filterButton.show(), !t.people) {
                            var o = this.pageData.rcount || 1;
                            $(".js_people_selection .adult-children").html("<p>\u95f4\u6570&nbsp;" + o + "</p><p>\u4eba\u6570&nbsp;1</p>"), this.$(".js_people_selection").length > 1 && this.$(".js_people_selection").eq(0).html('<div class="cell-star"><em class="txt">\u95f4\u6570</em><span>' + o + '</span></div>\n                <div class="cell-star"><em class="txt">\u6bcf\u95f4\u6210\u4eba\u6570</em><span>1</span></div>\n                <div class="cell-star"><em class="txt">\u6bcf\u95f4\u513f\u7ae5\u6570</em><span>0</span></div>')
                        }
                        t.service && __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(t.service, function (t) {
                            t.key && 2 === t.key && e.updateCancelEncourage(!0)
                        })
                    }, Page.prototype.initFilterSelected = function () {
                        var t = {},
                            e = ["gotodeatil", "gotobooking", "gotohotelpics", "gotohotelintro", "gotohotelcommentlist", "gotohotemap", "gotonearbyhotellist", "gotosamebrand", "gotobrowsehistorylist"],
                            i = location.hash && location.hash.replace(/#/, "") || "";
                        if (i = i && i.toLowerCase() || "", e.indexOf(i) > -1) t = __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.get() || {}; else if ("searchlist" === this.getOneMessage("entry")) {
                            t = this.getFilterSelectedFromList(this.searchStatusProvider.getCache());
                            var a = this.generatePeopleFilterFromListOrNb();
                            null !== a && (t.people = a)
                        } else if (location.href.search("nb") > -1) {
                            var a = this.generatePeopleFilterFromListOrNb();
                            null !== a && (t.people = a), this.searchStatusProvider.setRoomPeople({
                                room: parseInt(this.pageData.rcount, 10),
                                adult: parseInt(this.pageData.adult, 10),
                                children: this.pageData.children
                            })
                        } else {
                            var o = parseInt(this.pageData.contrl, 10), n = parseInt(this.pageData.facility, 10),
                                s = parseInt(this.pageData.pay, 10), r = this.pageData, l = r.price, c = r.pricerange,
                                d = r.bookable, h = r.qbitmap, p = r.breakfast, u = r.bedtype,
                                m = parseInt(this.pageData.service, 10), f = parseInt(this.pageData.feature, 10),
                                _ = this.initialServiceFilter(d, m, o, h);
                            if (_.length && (t.service = _), u) {
                                var g = [];
                                switch (u) {
                                    case"22":
                                        g.push({key: 2, val: "\u5927\u5e8a"});
                                        break;
                                    case"23":
                                        g.push({key: 4, val: "\u53cc\u5e8a"})
                                }
                                g.length && (t.bedtype = g)
                            }
                            if (p) {
                                var v = [];
                                if ("h5_kezhan" === this.pageData.fr) switch (p) {
                                    case"4":
                                        v.push({key: 1, val: "\u542b\u65e9\u9910"});
                                        break;
                                    case"32":
                                        v.push({key: 2, val: "\u5355\u4efd\u65e9\u9910"});
                                        break;
                                    case"33":
                                        v.push({key: 4, val: "\u53cc\u4efd\u65e9\u9910"})
                                } else switch (p) {
                                    case"1":
                                        v.push({key: 1, val: "\u542b\u65e9\u9910"});
                                        break;
                                    case"2":
                                        v.push({key: 2, val: "\u5355\u4efd\u65e9\u9910"});
                                        break;
                                    case"4":
                                        v.push({key: 4, val: "\u53cc\u4efd\u65e9\u9910"})
                                }
                                v.length && (t.breakfast = v)
                            }
                            if (s && (1 === s ? t.paytype = [{
                                key: 1,
                                val: "\u5728\u7ebf\u4ed8\u6b3e"
                            }] : 2 === s && (t.paytype = [{key: 2, val: "\u5230\u5e97\u4ed8\u6b3e"}])), l) {
                                var y = this.pageData.isoversea ? ["0,400", "401,700", "701,1000", "1001,1300", "1301,1800", "1800"] : ["0,150", "150,300", "301,450", "451,600", "601,1000", "1000"],
                                    b = y.indexOf(decodeURIComponent(l));
                                b >= 0 && (t.pricerange = [{key: b + 1, val: y[b].replace(",", "-")}])
                            } else {
                                var D = this.returnPriceRangeDefinedByParam(c);
                                D && (t.pricerangedf = [D])
                            }
                            if (n) {
                                var w = [];
                                1 == (1 & n) && w.push({
                                    key: 1,
                                    val: "\u514d\u8d39WIFI\u4e0a\u7f51"
                                }), 16 == (16 & n) && w.push({
                                    key: 2,
                                    val: "\u514d\u8d39\u6709\u7ebf\u5bbd\u5e26"
                                }), 2048 == (2048 & n) && _.push({
                                    key: 2048,
                                    val: "\u589e\u503c\u7a0e\u4e13\u7528\u53d1\u7968"
                                }), w.length && (t.facility = w), _.length && (t.service = _)
                            }
                            if (f && 202 === f) {
                                var E = [];
                                E.push({key: 202, val: "\u949f\u70b9\u623f"}), t.feature = E
                            }
                            var k = this.searchStatusProvider.getCache().request;
                            if (this.pageData.isoversea && k && k.roomQuantity && k.adultCounts && k.childAges) {
                                var T = this.createPeopleFilterItem({
                                    room: k.roomQuantity,
                                    adult: k.adultCounts,
                                    children: k.childAges.split("|")
                                });
                                T && (t.people = T)
                            }
                            var O = __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.get();
                            O && Object.assign(t, O)
                        }
                        return this.filterSelected = t, __WEBPACK_IMPORTED_MODULE_42__roomlimitscachetool__.a.set(t), t
                    }, Page.prototype.generatePeopleFilterFromListOrNb = function () {
                        var t = null;
                        if (this.pageData.isoversea && this.pageData.adult && this.pageData.children) {
                            var e = this.createPeopleFilterItem({
                                room: parseInt(this.pageData.rcount, 10),
                                adult: parseInt(this.pageData.adult, 10),
                                children: this.pageData.children
                            });
                            e && (t = e)
                        }
                        return t
                    }, Page.prototype.initialServiceFilter = function (t, e, i, a) {
                        var o = [];
                        if ("1" !== t && 8 != (8 & e) || o.push({
                            key: 8,
                            val: "\u53ef\u8ba2"
                        }), 256 != (256 & i) && 4 != (4 & e) || o.push({
                            key: 4,
                            val: "\u7acb\u5373\u786e\u8ba4"
                        }), a) for (var n = decodeURIComponent(a).split("-"), s = 0, r = n.length; s < r; s++) {
                            var l = n[s];
                            switch (l) {
                                case"512":
                                    o.push({key: 2, val: "\u514d\u8d39\u53d6\u6d88"});
                                    break;
                                case"1024":
                                    o.push({key: 1, val: "\u643a\u7a0b\u81ea\u8425"})
                            }
                        }
                        var c = __WEBPACK_IMPORTED_MODULE_5_lodash_find___default()(o, function (t) {
                            return 2 === t.key
                        });
                        2 != (2 & e) || c || o.push({key: 2, val: "\u514d\u8d39\u53d6\u6d88"});
                        var d = __WEBPACK_IMPORTED_MODULE_5_lodash_find___default()(o, function (t) {
                            return 1 === t.key
                        });
                        return 1 != (2 & e) || d || o.push({key: 1, val: "\u643a\u7a0b\u81ea\u8425"}), o
                    }, Page.prototype.getFilterSelectedFromList = function (t) {
                        var e = {};
                        t.request && t.request.filterItemList && t.request.filterItemList.forEach(function (t) {
                            t.indexOf("facility-2048") >= 0 && (t = t.replace(/facility/g, "service"));
                            var i = t.split("|")[0].split("-");
                            if (!(i.length < 2)) {
                                var a = parseInt(i[1], 10), o = i[0];
                                if (completeFilters[o]) {
                                    var n = __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(completeFilters[o], function (t) {
                                        return t.key === a
                                    });
                                    if (!(n < 0)) {
                                        var s = {key: a, val: completeFilters[o][n].val}, r = e[o];
                                        r ? r.push(s) : e[o] = [s]
                                    }
                                }
                            }
                        });
                        var i = this.returnPriceItem(t) || null;
                        if (i) e.pricerange = [i]; else {
                            var a = this.returnPriceRangeDefined(t);
                            a && (e.pricerangedf = [a])
                        }
                        return e
                    }, Page.prototype.returnPriceItem = function (t) {
                        var e = t.request, i = e.highestPrice, a = e.lowestPrice, o = null;
                        return a <= 0 && 150 === i ? o = {
                            key: 1,
                            val: "150\u4ee5\u4e0b"
                        } : 150 === a && 300 === i ? o = {key: 2, val: "150-300"} : 300 === a && 450 === i ? o = {
                            key: 3,
                            val: "301-450"
                        } : 450 === a && 600 === i ? o = {key: 4, val: "451-600"} : 600 === a && 1e3 === i ? o = {
                            key: 5,
                            val: "601-1000"
                        } : 1e3 === a && 2147483647 === i && (o = {key: 6, val: "1000\u4ee5\u4e0a"}), o
                    }, Page.prototype.returnPriceRangeDefined = function (t) {
                        var e = t.request, i = e.highestPrice, a = e.lowestPrice;
                        return i <= 0 ? null : i >= a && a >= 0 ? 2147483647 === i ? {
                            key: a.toString(),
                            val: a + "\u4ee5\u4e0a"
                        } : {key: a + "-" + i, val: a + "-" + i} : null
                    }, Page.prototype.returnPriceRangeDefinedByParam = function (t) {
                        var e = null;
                        if (t && t.length > 0) {
                            if (t.indexOf(",") < 0) {
                                var i = parseInt(t) || 0;
                                i > 0 && (e = {key: i.toString(), val: i + "\u4ee5\u4e0a"})
                            } else if (this.pageData.priceRange) {
                                var a = this.pageData.priceRange.split(",");
                                if (a && a.length > 1) {
                                    var i = parseInt(a[0], 10) || 0, o = parseInt(a[1], 10) || 2147483647;
                                    i <= o && (e = 2147483647 === o ? {
                                        key: i.toString(),
                                        val: i + "\u4ee5\u4e0a"
                                    } : {key: i + "-" + o, val: i + "-" + o})
                                }
                            }
                        }
                        return e
                    }, Page.prototype.renderFilterPanel = function (t) {
                        t && t[2] && t[2].length && (t[2] = __WEBPACK_IMPORTED_MODULE_10_lodash_reject___default()(t[2], function (t) {
                            return 1 === t.key
                        }), 0 === t[2].length && delete t[2]);
                        var e = $(".js_room_filter_panel");
                        if (t && !__WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty___default()(t)) {
                            e.show();
                            var i = '<span data-type="<%=k%>" data-value="<%=item.key%>" class="dt-border"><%=item.val%></span>',
                                a = [];
                            i = '<span data-type="<%=k%>" data-value="<%=item.key%>" class="dt-border"><%=item.val%><i class="dl-font-close"></i></span>', a.push('<h3 class="hotel-keywords-h3">\u60a8\u7b5b\u9009\u7684\u6761\u4ef6:</h3>');
                            var o = Object.keys(t), n = !1, s = !1;
                            this.$(".dt-noresult") && this.$(".dt-noresult").length && (s = !0), __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(o, function (e) {
                                var r = t[e];
                                r && r.length && __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(r, function (t) {
                                    a.push(__WEBPACK_IMPORTED_MODULE_9_lodash_template___default()(i)({
                                        k: e,
                                        item: t
                                    })), s && 1 === o.length && 1 === r.length && t && 8 === t.key && (n = !0)
                                })
                            }), n && a.push("<h3>\u6682\u65e0\u542b\u65e9\u9910\u623f\u578b</h3>"), e.html(a.join(""))
                        } else e.hide(), e.html("")
                    }, Page.prototype.loadRoomListFromServer = function (t, e) {
                        var i = this, a = this.convertSelectedFitler(t), o = this.pageData.isoversea ? 1 : 0,
                            n = this.morningStore.isMorning() ? 1 : 0, s = this.pageData.cityid,
                            r = location.protocol + "//" + location.host + "/webapp/hotel/j/hoteldetail/dianping/rooms/" + this.pageData.hotelid + "?inday=" + this.pageData.inday + "&outday=" + this.pageData.outday + "&subchannel=" + (this.pageData.subchannel || "") + "&" + a + "&hotelchannel=" + this.pageData.hotelchannel + "&isoversea=" + o + "&ismorning=" + n + "&cityid=" + s + "&adult=" + this.pageData.adult;
                        __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.get(r, {}, function (a) {
                            i.setRoomLoading(!1);
                            var o = document.createElement("DIV");
                            o.innerHTML = a, i.$(".js_roomlist").html($(o).find(".js_roomlist").html()), i.autoHideRoomSameTypeHotel();
                            try {
                                var n = $(o).find(".model_data").data("roomlistinfo"),
                                    s = $(o).find(".model_data").data("roomextinfo"),
                                    r = $(o).find(".model_data").attr("data-roomlistShowLeftroom");
                                i.pageData.roomlistinfo = n, i.pageData.roomsExt = s, i.pageData.roomlistShowLeftroom = r, i.initBottomTips(), i.bottomTips && i.bottomTips.updateDesc({roomstatus: i.pageData.roomlistinfo.canShowRoomNervousStatus ? "\u90e8\u5206\u623f\u578b\u623f\u91cf\u7d27\u5f20" : i.pageData.roomlistinfo.latesetBookTime}), i.loginGuide || i.initLoginGuide(), i.handleTotalprice()
                            } catch (t) {
                                i.pageData.roomlistinfo = {}, i.pageData.roomsExt = {}
                            }
                            i.renderFilterPanel(t), o = null, "function" == typeof e && e.call(i)
                        }, function () {
                            i.setRoomLoading(!1)
                        }, 3e4, {dataType: "html", useCasKey: !0})
                    }, Page.prototype.convertSelectedFitler = function (t) {
                        var e = [];
                        if (t && !__WEBPACK_IMPORTED_MODULE_8_lodash_isEmpty___default()(t)) {
                            var i = Object.keys(t);
                            __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(i, function (i) {
                                var a = t[i] || [];
                                switch (i) {
                                    case"service":
                                        var o = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            o |= t.key
                                        }), e.push("service=" + o);
                                        break;
                                    case"feature":
                                        var n = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            n |= t.key
                                        }), e.push("feature=" + n);
                                        break;
                                    case"promotion":
                                        var s = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            s |= t.key
                                        }), e.push("promotion=" + s);
                                        break;
                                    case"bedtype":
                                        var r = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            r |= t.key
                                        }), e.push("bed=" + r);
                                        break;
                                    case"breakfast":
                                        var l = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            l |= t.key
                                        }), e.push("breakfast=" + l);
                                        break;
                                    case"paytype":
                                        var c = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            c |= t.key
                                        }), e.push("pay=" + c);
                                        break;
                                    case"pricerange":
                                        var d = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            d |= t.key
                                        }), e.push("price=" + d);
                                        break;
                                    case"facility":
                                        var h = 0;
                                        __WEBPACK_IMPORTED_MODULE_1_lodash_each___default()(a, function (t) {
                                            h |= t.key
                                        }), e.push("net=" + h)
                                }
                            })
                        }
                        return e = e.join("&")
                    }, Page.prototype.filterSelectedFilter = function (t, e) {
                        var i = __WEBPACK_IMPORTED_MODULE_12_lodash_cloneDeep___default()(t);
                        Object.keys(i).forEach(function (a) {
                            var o = __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(e, function (t) {
                                return t.ftype === a
                            });
                            if (o < 0) delete t[a]; else for (var n = 0; n < i[a].length; n++) !function (n) {
                                __WEBPACK_IMPORTED_MODULE_7_lodash_findIndex___default()(e[o].items, function (t) {
                                    return t.key === i[a][n].key
                                }) < 0 && (t[a].pop(t[a][n]), t[a].length <= 0 && delete t[a])
                            }(n)
                        })
                    }, Page.prototype.toggleMore = function (t) {
                        var e = $(t.currentTarget);
                        e.parent("ul").children("li[data-more]").show(), setTimeout(function () {
                            e.remove()
                        }, 0)
                    }, Page.prototype.goToHotelIntro = function (t) {
                        var e = $(t.currentTarget), i = e.data("name") || "", a = this.pageData.hotelid;
                        if (!a) {
                            var o = location.href.match(/(\d+).html?/);
                            o && o[1] && (a = o[1])
                        }
                        var n = this.pageData, s = n.score, r = n.star, l = n.ratingCount,
                            c = (n.isoversea, this.pageData.days || 0), d = this.pageData.daylater || 0, h = "";
                        history.replaceState({}, document.title, "#gotoHotelIntro"), h = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)((this.pageData.isoversea ? "oversea/" : "") + "hoteldetail/more/" + a + ".html?showtab=" + i + "&score=" + s + "&star=" + r + "&total=" + l + "&days=" + c + "&daylater=" + d + "&hotelid=" + a + "&biz=1"), this.goTo("hotelintro", h)
                    }, Page.prototype.goToNearbyHotHotel = function () {
                        history.replaceState({}, document.title, "#gotoNearbyHotellist");
                        var t = this.pageData.daylater > 0 ? this.pageData.daylater : __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.getIntervalDay(__WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.getServerDate(), this.pageData.atime),
                            e = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)((this.pageData.isoversea ? "oversea/" : "") + "hoteldetail/nearlist/" + this.pageData.hotelid + ".html?detailcontrl=" + this.pageData.contrl + "&days=" + this.pageData.days + "&daylater=" + t + "&biz=" + (this.pageData.isoversea ? "2" : "1") + "&geo=" + this.pageData.lat + "," + this.pageData.lon);
                        this.goTo("hotelnearlist", e)
                    },Page.prototype.goToSameBrandHotel = function () {
                        var t = this.pageData.hotelid, e = this.pageData.inday && this.pageData.inday.replace(/\//g, ""),
                            i = this.pageData.outday && this.pageData.outday.replace(/\//g, ""),
                            a = this.morningStore.isMorning() ? 4 : 0,
                            o = Object(__WEBPACK_IMPORTED_MODULE_13_commons_util_urlutils__.c)("samebrandhotellist?hid=" + t + "&inday=" + e + "&outday=" + i + "&contrl=" + a);
                        history.replaceState({}, document.title, "#gotoSameBrand"), this.goTo("samebrandhotellist", o)
                    },Page.prototype.handleRedbag = function (t) {
                        var e = new __WEBPACK_IMPORTED_MODULE_54__hotellist_biz_hotellist_hongbao__.a;
                        if (e.setData(this.appData.isMemberLogin), this.appData.isMemberLogin) {
                            var i = e.showPOP({rdpinfo: {hasred: 5}});
                            __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.get("/webapp/hotel/j/hotellist/hongbao", {}, function (t) {
                                i.hide(), e.showPOP({rdpinfo: t})
                            }, function () {
                                var t = {
                                    rdpinfo: {
                                        hasred: 1,
                                        redmessage: "\u5f88\u62b1\u6b49\uff0c\u6682\u65f6\u65e0\u6cd5\u9886\u53d6\u7ea2\u5305"
                                    }
                                };
                                i.hide(), e.showPOP(t)
                            }, 3e4)
                        } else {
                            var a = {rdpinfo: {hasred: 4}}, o = e.showPOP(a);
                            CLogin.uipageview.loaddynamic("hongbao_logincontainer", function (t) {
                                if (0 == +t.ReturnCode) {
                                    o.loged = !0, o.hide();
                                    var i = e.showPOP({rdpinfo: {hasred: 5}});
                                    __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.get("/webapp/hotel/j/hotellist/hongbao", {}, function (t) {
                                        i.hide(), e.showPOP({rdpinfo: t})
                                    }, function () {
                                        i.hide(), e.showPOP({
                                            rdpinfo: {
                                                hasred: 1,
                                                redmessage: "\u5f88\u62b1\u6b49\uff0c\u6682\u65f6\u65e0\u6cd5\u9886\u53d6\u7ea2\u5305"
                                            }
                                        })
                                    }, 3e4)
                                }
                            })
                        }
                        var n = this;
                        e.onHongBaoPopHide(function () {
                            "undefined" != typeof loginpop && loginpop.loged && n.refreshPage()
                        })
                    },Page.prototype.refreshPage = function () {
                        this.appData.isLogin || location.reload()
                    },Page.prototype.onSubmitNewInOutDay = function (t) {
                        var e = this;
                        this.scrollDateBox();
                        var i = new Date;
                        i.setHours(0), i.setMinutes(0), i.setSeconds(0);
                        var a = Math.round((t.checkinDate.getTime() - i.getTime()) / 24 / 36e5);
                        this.pageData.inday = __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.format(t.checkinDate, "Y/m/d"), this.pageData.outday = __WEBPACK_IMPORTED_MODULE_17_commons_util_dateutil__.a.format(t.checkoutDate, "Y/m/d"), this.pageData.days = t.days, this.pageData.daylater = a;
                        var o = this.pageData.isoversea ? "oversea/" : "",
                            n = /^\/(\w+)\/hotel/.exec(location.pathname) || [], s = n[1] || "webapp",
                            r = location.origin + "/" + s + "/hotel/" + o + "hoteldetail/" + this.pageData.hotelid + ".html?days=" + this.pageData.days + "&atime=" + this.pageData.inday.split("/").join("") + "&contrl=" + this.pageData.contrl + "&num=" + this.pageData.num + "&biz=" + this.pageData.biz;
                        this.loadRoomListFromServer(this.filterSelected, function () {
                            history.replaceState({}, document.title, r), __WEBPACK_IMPORTED_MODULE_24_commons_history__.a.addHistory("detail", location.href), e.initFastFilter(), e.updateFastFilter(e.filterSelected)
                        }), this.initSecondaryInfoSection()
                    },Page.prototype.loadCasTestCode = function () {
                        Object(__WEBPACK_IMPORTED_MODULE_25_commons_util_cas__.b)().then(function (t) {
                            if ("string" == typeof t && "" !== t.trim()) {
                                var e = "/webapp/hotel/j/hoteldetail/dianping/api/cas/lg/" + t, i = new XMLHttpRequest;
                                i.open("GET", e), i.send()
                            }
                        })
                    },Page.prototype.openPriceStarFilterPanel = function () {
                        var t = this;
                        this.PriceStarFilterPanel ? this.displayPriceStarFilterPanel() : Promise.all([__webpack_require__.e(8).then(__webpack_require__.bind(null, "rfSs")), __webpack_require__.e(12).then(__webpack_require__.bind(null, "30VQ"))]).then(function (e) {
                            var i = e[0].default;
                            t.PriceStarFilterPanel = new i({
                                needMask: !0,
                                biz: t.pageData.isoversea ? 2 : 1,
                                data: {
                                    star: {selected: {value: t.getStarList()}},
                                    price: {
                                        selected: {value: t.lowestPrice + "," + t.highestPrice},
                                        config: {
                                            step: t.pageData.isoversea ? 100 : 50,
                                            range: t.pageData.isoversea ? "0|1900" : "0|550"
                                        }
                                    }
                                },
                                animation: {inAnimation: "animated fadeInUp", outAnimation: "animated fadeOutDown"},
                                onConfirm: t.onPriceStarConfirm.bind(t)
                            }), t.PriceStarFilterPanel.$el.css({
                                bottom: 0,
                                position: "fixed"
                            }), t.displayPriceStarFilterPanel()
                        })
                    },Page.prototype.displayPriceStarFilterPanel = function () {
                        this.PriceStarFilterPanel.updateState(this.pageData.isoversea, this.getStarList(), {
                            minPrice: this.lowestPrice,
                            maxPrice: this.highestPrice
                        }), this.PriceStarFilterPanel.show()
                    },Page.prototype.getStarList = function () {
                        var t = [];
                        return this.selectedStarList.forEach(function (e) {
                            t.push(e <= 2 ? "star-0|1|2" : "star-" + e)
                        }), t
                    },Page.prototype.onPriceStarConfirm = function (t) {
                        var e = t && t.star && t.star.text && t.star.text.join("\u3001") || "",
                            i = t && t.price && t.price.text || "",
                            a = this.pageData.isoversea ? "\u94bb\u7ea7/\u4ef7\u683c" : "\u661f\u7ea7/\u4ef7\u683c";
                        this.$(".js_price_star").html(e && i ? e + "\u3001" + i : e || i ? "" + e + i : a), e || i ? (this.$(".js_price_star_close").show(), this.$("#js_query_star_price").addClass("g--active"), this.$(".js_price_star").removeClass("g-def-txt")) : (this.$(".js_price_star_close").hide(), this.$("#js_query_star_price").removeClass("g--active"), this.$(".js_price_star").addClass("g-def-txt"));
                        var o = [];
                        (t && t.star && t.star.value || []).forEach(function (t) {
                            if ("star-0|1|2" === t) return void o.push(2);
                            var e = t.split("-");
                            e.length >= 2 && o.push(parseInt(e[1]))
                        }), this.selectedStarList = o;
                        var i = t && t.price && t.price.value || "", n = i.split(",");
                        n.length > 1 ? (this.lowestPrice = parseInt(n[0]), this.highestPrice = parseInt(n[1])) : (this.lowestPrice = 0, this.highestPrice = 0)
                    },Page.prototype.handleGoToHotelList = function () {
                        var t = this.pageData.isoversea ? "oversea/" : "", e = this.pageData.days,
                            i = this.pageData.atime ? "&atime=" + this.pageData.atime : "",
                            a = this.pageData.isMorning ? "&ismorning=1" : "", o = "city" + this.pageData.cityid + "/";
                        if (this.pageData.isoversea) for (this.pageData.children || (this.pageData.children = []); this.pageData.children.length < 3;) this.pageData.children.push(-1);
                        var n = this.pageData.isoversea ? "&rcount=" + (this.pageData.rcount || 1) + "&adult=" + (this.pageData.adult || 1) + "&child=" + (this.pageData.children ? this.pageData.children.join("_") : "-1_-1_-1") : "",
                            s = "";
                        this.selectedStarList.forEach(function (t) {
                            s = s + "star" + (t <= 2 ? 2 : t)
                        });
                        var r = "";
                        (0 !== this.lowestPrice || 0 !== this.highestPrice && 2147483647 !== this.highestPrice) && (r = 2147483647 === this.highestPrice ? "v" + this.lowestPrice : "v" + this.lowestPrice + "v" + this.highestPrice);
                        var l = s || r ? "" + r + s + "/" : "",
                            c = __WEBPACK_IMPORTED_MODULE_34__loginpage__.a.getenvHost() + "/webapp/hotel/" + t + o + l + "?days=" + e + i + a + n + "&fromhotelid=" + this.pageData.hotelid;
                        this.goTo("searchlist", c)
                    },Page.prototype.handleTotalprice = function (t) {
                        var e = this;
                        if (t && (this.totalpriceClicked = !this.totalpriceClicked, this.$(".js_see_totalPrice").toggleClass("current")), this.pageData.isoversea) {
                            var i = location.search;
                            i = location.search.match(/totalprice=\d/) ? location.search.replace(/totalprice=\d/, "totalprice=" + (this.totalpriceClicked ? 1 : 0)) : i ? i + "&totalprice=" + (this.totalpriceClicked ? 1 : 0) : i + "?totalprice=" + (this.totalpriceClicked ? 1 : 0);
                            var a = location.protocol + "//" + location.host + location.pathname + i + location.hash;
                            history.replaceState({}, document.title, a), __WEBPACK_IMPORTED_MODULE_24_commons_history__.a.addHistory("detail", a)
                        }
                        var o = {}, n = {};
                        this.pageData.roomlistinfo.rooms.forEach(function (t) {
                            var i, a = e.$('[data-roomid="' + t.id + '"]');
                            if (0 !== a.length && (a.length > 1 ? a.forEach(function (e) {
                                $(e).data("shadowid") + "" == t.shadowId + "" && (i = $(e))
                            }) : i = a, i)) if (i.find(".js_total_price_p").remove(), e.totalpriceClicked) {
                                var s = t.priceInfo.cnyTotalPrice;
                                if (t.priceInfo.discountString && t.priceInfo.discountString.indexOf("<del>") > -1) r = ["<del>" + t.priceInfo.cnyTotalPrice + "</del>"], s -= t.priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount; else {
                                    var r = [t.priceInfo.cnyTotalPrice], l = t.priceInfo.prepayTotalDiscountAmount;
                                    t.priceInfo.prepayTotalDiscountAmount && (s -= l, r.push("\u7acb\u51cf" + l)), t.priceInfo.cashBackPromotionDomainModel && (s -= t.priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount, t.priceInfo.couponImmediatelyMinusPromotionDomainModel && !t.priceInfo.prepayTotalDiscountAmount || t.priceInfo.couponReturnPromotionDomainModel ? r.push("\u8fd4" + t.priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount + ",") : r.push("\u8fd4" + t.priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount)), t.priceInfo.couponImmediatelyMinusPromotionDomainModel && (s -= t.priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount, t.priceInfo.prepayDiscountAmount ? r[1] = "\u7acb\u51cf" + (l + t.priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount) : r.push("\u5238\u51cf" + t.priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount)), t.priceInfo.couponReturnPromotionDomainModel && (s -= t.priceInfo.couponReturnPromotionDomainModel.totalAmount.cnyAmount, r.push("\u5238\u8fd4" + t.priceInfo.couponReturnPromotionDomainModel.totalAmount.cnyAmount)), 1 === r.length ? r = [] : r.length > 2 && 0 === r[1].indexOf("\u7acb\u51cf") && (r[1] += ",")
                                }
                                $('<p class="price-tax js_total_price_p">' + e.pageData.days + "\u665a\u542b\u7a0e\u4ef7</p>").prependTo(i.find(".price").parent()), i.find(".js_price_desc_txt").html(""), i.find(".js-cas-p").text(s), i.find(".js_discount_desc").html(r.join("")), i.find(".js_txt_desc_txt").hide(), i.find(".js_include_tax_txt").hide(), (!o[t.bid] || o[t.bid] > s) && (o[t.bid] = s), 1 === t.status && (!n[t.bid] || n[t.bid] > s) && (n[t.bid] = s)
                            } else e.pageData.rcount > 1 ? i.find(".js_price_desc_txt").html("\u5747&nbsp;") : i.find(".js_price_desc_txt").html(""), i.find(".js-cas-p").text(t.priceInfo.cnyPrice), i.find(".js_discount_desc").html(t.priceInfo.discountString), i.find(".js_txt_desc_txt").show(), i.find(".js_include_tax_txt").show(), (!o[t.bid] || o[t.bid] > t.priceInfo.cnyPrice) && (o[t.bid] = t.priceInfo.cnyPrice), 1 === t.status && (!n[t.bid] || n[t.bid] > s) && (n[t.bid] = t.priceInfo.cnyPrice)
                        }), this.pageData.roomextinfo.baserooms && this.pageData.roomextinfo.baserooms.forEach(function (t) {
                            var i = e.$('[data-bid="' + t.id + '"]').parent().eq(0);
                            i.find(".js_total_price_base_room").remove(), e.totalpriceClicked && $('<p class="price-tax js_total_price_base_room">' + e.pageData.days + "\u665a\u542b\u7a0e\u4ef7</p>").prependTo(i.find(".price").parent()), e.pageData.isoversea && i.find(".js-cas-p").text(n[t.id] || o[t.id])
                        })
                    },Page.prototype.updateChildPolicyBanner = function () {
                        var t = this, e = this.pageData.children, i = this.pageData.hotelid,
                            a = location.protocol + "//" + location.host + "/webapp/hotel/api/getchildpolicydesc?childAges=" + e + "&hotelid=" + i,
                            o = this;
                        __WEBPACK_IMPORTED_MODULE_19_commons_util_ajaxutil__.a.get(a, {}, function (e) {
                            e ? (t.$(".js_children_tips").show(), t.$(".js_children_tips").html(e)) : t.$(".js_children_tips").hide()
                        }, function () {
                            o.policyText = ""
                        }, 3e4)
                    },Page
                }(__WEBPACK_IMPORTED_MODULE_34__loginpage__.a);
            __WEBPACK_IMPORTED_MODULE_33__startup__.a.init(new Page($("#content")))
        }, ktak: function (t, e, i) {
            var a = i("f931"), o = a(Object.keys, Object);
            t.exports = o
        }, ktnU: function (t, e, i) {
            function a(t, e) {
                return o(e, function (e) {
                    return t[e]
                })
            }

            var o = i("Hxdr");
            t.exports = a
        }, kvU2: function (t, e, i) {
            function a(t) {
                return o(t, n | s)
            }

            var o = i("Fkvj"), n = 1, s = 4;
            t.exports = a
        }, kxzG: function (t, e, i) {
            function a(t) {
                if ("number" == typeof t) return t;
                if (n(t)) return s;
                if (o(t)) {
                    var e = "function" == typeof t.valueOf ? t.valueOf() : t;
                    t = o(e) ? e + "" : e
                }
                if ("string" != typeof t) return 0 === t ? t : +t;
                t = t.replace(r, "");
                var i = c.test(t);
                return i || d.test(t) ? h(t.slice(2), i ? 2 : 8) : l.test(t) ? s : +t
            }

            var o = i("yCNF"), n = i("6MiT"), s = NaN, r = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i,
                d = /^0o[0-7]+$/i, h = parseInt;
            t.exports = a
        }, kzQO: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("LYy4"), n = i.n(o), s = i("yaBp"), r = i("+b/N"), l = i("0tEz"), c = new r.b({
                key: "U_HOTEL_REDUCE_MARKETING_POP_LAYER_FLAG",
                lifeTime: "1D",
                isUserData: !0,
                defaultData: {downlaod_tip: ""}
            }), d = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    var e = this;
                    t.prototype.propertys.call(this), this.on("onShow", function () {
                        if (!c.getAttr("downlaod_tip") || !e.wrapper.find(".js_close").length) {
                            e.wrapper.show();
                            var t = e;
                            setTimeout(function () {
                                var e = JSON.parse(window.localStorage.getItem("SALES_OBJECT"));
                                if (e && e.value) {
                                    var i = e.value.tel || "4008286685,00000";
                                    t.wrapper.find(".js_telephone_number").attr("href", "tel:" + i)
                                }
                            }, 1e3)
                        }
                    })
                }, e.prototype.addEvent = function () {
                    var e = this;
                    t.prototype.addEvent.call(this), this.wrapper.on("click", ".js_poplayer_download", n()(function (t) {
                        t.preventDefault(), e.appDownload()
                    }, this)), this.wrapper.on("click", ".js_close", n()(function (t) {
                        t.preventDefault(), c.setAttr("downlaod_tip", 1), e.hidePopLayer()
                    }, this)), this.wrapper.on("click", ".js_poplayer_layer", n()(function (t) {
                        e.hidePopLayer()
                    }, this))
                }, e.prototype.appDownload = function () {
                    if (s.a.vendor.is("TECENT")) var t = "ctrip://wireless/h5?url=" + window.location.href,
                        e = setInterval(function () {
                            window.Mkt && window.Mkt.Weixin && window.Mkt.Weixin.wxLanuch3rd && (clearInterval(e), window.Mkt.Weixin.wxLanuch3rd({
                                schema: t,
                                isdown: !0,
                                mktwxpageid: $("#page_id").val(),
                                callback: function () {
                                }
                            }))
                        }, 100); else void 0 === window.__wakeup && (window.__wakeup = []), window.__wakeup.push({
                        url: window.location.href,
                        backurl: "ctrip://wireless/hotel_inquire",
                        isdown: !0
                    })
                }, e.prototype.hidePopLayer = function () {
                    this.wrapper.hide()
                }, e
            }(l.a);
            e.a = d
        }, l4he: function (t, e, i) {
            function a(t) {
                return t = n(t), t && r.test(t) ? t.replace(s, o) : t
            }

            var o = i("eAIx"), n = i("ZT2e"), s = /[&<>"']/g, r = RegExp(s.source);
            t.exports = a
        }, l9Lx: function (t, e) {
            function i() {
                return []
            }

            t.exports = i
        }, lAQp: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("v8oQ"), n = i.n(o), s = i("kbi+"), r = i.n(s), l = i("6M8Y"), c = i("swjm"),
                d = i("F4KM"), h = i("KH9P"), p = i.n(h), u = i("Wg5R"), m = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.propertys = function () {
                        this.unbindTouchEvent = !0, t.prototype.propertys.call(this), this.template = p.a, this.datamodel = {
                            hasHeader: !0,
                            selectedAge: -1
                        }, this.needReposition = !1, this.id = n()("biz-view-childageselect-")
                    }, e.prototype.setRootStyle = function () {
                        this.mask.$el.css({zIndex: 6e3}), this.$el.addClass("animated slideInUp"), this.$el.css({
                            width: "100%",
                            top: "auto",
                            bottom: 0,
                            left: 0,
                            padding: 0,
                            borderRadius: 0,
                            zIndex: 7e3
                        })
                    }, e.prototype.addEvent = function () {
                        var e = this;
                        t.prototype.addEvent.call(this), this.addEvents({
                            "click .js_age_item": function (t) {
                                var i = $(t.currentTarget), a = u.a[i.data("idx")];
                                e.onChanged.call(e, {age: a.age, txt: a.txt}), e.hide()
                            }
                        }), this.on("onShow", function () {
                            e.setRootStyle(), $(window).off("." + e.id), $(window).on("resize." + e.id, $.proxy(function () {
                                this.setRootStyle()
                            }, e))
                        }), this.on("onHide", function () {
                            $(window).off("." + e.id), e.destroy()
                        })
                    }, e.prototype.create = function () {
                        var e = this, i = r()(u.a, function (t) {
                            return t.age === e.datamodel.selectedAge
                        }) || u.a[0];
                        this.datamodel.selectedAge = i.age, this.datamodel.agesVm = u.a, t.prototype.create.call(this)
                    }, e.prototype.hide = function () {
                        var e = this;
                        if (this.$el && "show" === this.status) {
                            this.$el.removeClass("animated slideInUp"), this.$el.addClass("animated slideOutDown");
                            var i = Object(c.a)();
                            this.$el.one(i, function () {
                                e.$el.removeClass("animated slideOutDown"), t.prototype.hide.call(e), history.back()
                            })
                        }
                    }, e.prototype.show = function () {
                        var e = this;
                        Object(d.stateobserve)(function () {
                            e.hide()
                        }), t.prototype.show.call(this)
                    }, e.prototype.onChanged = function () {
                    }, e
                }(l.a);
            e.a = m
        }, lHK6: function (t, e, i) {
            function a(t) {
                if (null == t) return !0;
                if (l(t) && (r(t) || "string" == typeof t || "function" == typeof t.splice || c(t) || h(t) || s(t))) return !t.length;
                var e = n(t);
                if (e == p || e == u) return !t.size;
                if (d(t)) return !o(t).length;
                for (var i in t) if (f.call(t, i)) return !1;
                return !0
            }

            var o = i("/GnY"), n = i("gHOb"), s = i("1Yb9"), r = i("NGEn"), l = i("bGc4"), c = i("ggOT"), d = i("HT7L"),
                h = i("YsVG"), p = "[object Map]", u = "[object Set]", m = Object.prototype, f = m.hasOwnProperty;
            t.exports = a
        }, lb6C: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length, o = 0, n = []; ++i < a;) {
                    var s = t[i];
                    e(s, i, t) && (n[o++] = s)
                }
                return n
            }

            t.exports = i
        }, m4tL: function (t, e, i) {
            function a(t, e, i) {
                return t && t.length ? (e = i || void 0 === e ? 1 : n(e), o(t, 0, e < 0 ? 0 : e)) : []
            }

            var o = i("M1c9"), n = i("5Zxu");
            t.exports = a
        }, "mKB/": function (t, e, i) {
            (function (t) {
                function a(t, e) {
                    if (e) return t.slice();
                    var i = t.length, a = c ? c(i) : new t.constructor(i);
                    return t.copy(a), a
                }

                var o = i("TQ3y"), n = "object" == typeof e && e && !e.nodeType && e,
                    s = n && "object" == typeof t && t && !t.nodeType && t, r = s && s.exports === n,
                    l = r ? o.Buffer : void 0, c = l ? l.allocUnsafe : void 0;
                t.exports = a
            }).call(e, i("3IRH")(t))
        }, mQIM: function (t, e) {
            t.exports = '<ul class="base-info"> <li class="item"> <% if(area && area !== "0"){ %> <span class="tit c333">\u9762\u79ef\uff1a</span> <%} else if(floor && floor !== "0"){ %> <span class="tit c333">\u697c\u5c42\uff1a</span> <%} %> <%\r\n    var descArr = [];\r\n    if(area && area !== "0"){\r\n      descArr.push(area.indexOf("m\xb2") > -1 ? area : area + "m\xb2");\r\n    }\r\n    if(floor && floor !== "0"){\r\n      descArr.push(floor);\r\n    }\r\n    descArr.push(max.indexOf("\u53ef\u4f4f") > -1 ? max : "\u53ef\u4f4f" + max);\r\n    if(windowDes){\r\n      descArr.push(windowDes);\r\n    }\r\n    descArr.push(balcony);\r\n    %> <span class="bfc"><%=descArr.join("  |  ")%></span> </li> <%if(isBreakfast){%> <li class="item"> <span class="tit">\u65e9\u9910</span> <%\r\n    var breakfastDesc = "\u65e0\u65e9\u9910";\r\n    switch(breakfast){\r\n      case "\u5355\u65e9":\r\n          breakfastDesc = "\u6bcf\u65e5\u5355\u65e9";\r\n          break;\r\n      case "\u53cc\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u53cc\u65e9";\r\n        break;\r\n      case "\u4e09\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e09\u65e9";\r\n        break;\r\n      case "\u56db\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u56db\u65e9";\r\n        break;\r\n      case "\u4e94\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e94\u65e9";\r\n        break;\r\n      case "\u516d\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u516d\u65e9";\r\n        break;\r\n      case "\u4e03\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e03\u65e9";\r\n        break;\r\n      case "\u516b\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u516b\u65e9";\r\n        break;\r\n      case "\u4e5d\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u4e5d\u65e9";\r\n        break;\r\n      case "\u591a\u65e9":\r\n        breakfastDesc = "\u6bcf\u65e5\u591a\u65e9";\r\n        break;\r\n    }\r\n    %> <span class="bfc"><%=breakfastDesc%></span> </li> <%}%> <%if (bedWidth) {%> <li class="item"> <span class="tit">\u5e8a\u5bbd</span> <span class="bfc"><%=bedWidth%></span> </li> <%} %> <li class="item"> <span class="tit">\u65e0\u70df</span> <span class="bfc"><%=smoke%></span> </li> <%if (net) {%> <li class="item"> <span class="tit">\u5bbd\u5e26</span> <span class="bfc"><%=net.replace(/wi-fi/ig, "WiFi").replace(/wifi/ig, "WiFi")%></span> </li> <%} %> </ul> '
        }, mS7s: function (t, e) {
            t.exports = '<% if(typeof fromList!= \'undefined\' && fromList){ %> <div class="coupons-enter"> <% if (canReceive) { %> <div class="btn-active js_receive_newguestcoupon" data-ubt-key="c_hotel_searchlist_getnewguestcoupon">\u9886\u53d6\u4f18\u60e0\u5238</div> <% } else { %> <div class="btn-active done js_done">\u5df2\u9886\u53d6</div> <% } %> </div> <% }else{ %> <div class="dl-marketing"> <% if (canReceive) { %> <div class="btn-active js_receive_newguestcoupon" data-ubt-key="c_hotel_searchlist_getnewguestcoupon">\u9886\u53d6\u4f18\u60e0\u5238</div> <% } else { %> <div class="btn-active done js_done">\u5df2\u9886\u53d6</div> <% } %> </div> <% } %> '
        }, nbsL: function (t, e, i) {
            function a(t, e) {
                if (t !== e) {
                    var i = void 0 !== t, a = null === t, n = t === t, s = o(t), r = void 0 !== e, l = null === e,
                        c = e === e, d = o(e);
                    if (!l && !d && !s && t > e || s && r && c && !l && !d || a && r && c || !i && c || !n) return 1;
                    if (!a && !s && !d && t < e || d && i && n && !a && !s || l && i && n || !r && n || !c) return -1
                }
                return 0
            }

            var o = i("6MiT");
            t.exports = a
        }, oEgB: function (t, e, i) {
            "use strict";
            var a = i("VVHy"), o = function () {
                function t() {
                }

                return t.prototype.setData = function (t) {
                    this.login = t
                }, t.prototype.showPOP = function (t) {
                    var e = this, i = new a.a({
                        maskToHide: !0,
                        needAnimat: !1,
                        datamodel: t,
                        events: {
                            "click .cui-btns-ok": "okAction", "click .js_event_rule_hook": function (t) {
                                var e = this.$el.find(".js_event_rule_content");
                                0 == e.data("vs") ? ($(t.currentTarget).addClass("open"), e.show(), e.data("vs", 1)) : ($(t.currentTarget).removeClass("open"), e.hide(), e.data("vs", 0))
                            }
                        },
                        okAction: function () {
                            this.hide()
                        },
                        onHide: function () {
                            this.destroy()
                        }
                    });
                    return i.on("hongbaopophide", function () {
                        e.onHongBaoPopHideFun()
                    }), i.show(), i
                }, t.prototype.onHongBaoPopHide = function (t) {
                    this.onHongBaoPopHideFun = t
                }, t
            }();
            e.a = o
        }, oF5r: function (t, e) {
            t.exports = '<style> /*\u670d\u52a1\u4fdd\u969c\u8bdd\u672f*/\r\n  .mt2{margin-top:0.1rem }\r\n  .service-txt { text-align: center; margin: 1.75rem 0 2.25rem; }\r\n  .service-txt-pop .bfc {overflow: hidden;}\r\n  .service-icon { display: inline-block; background-image: url("https://pages.ctrip.com/hotel_h5/res/img/service-txt-v5.png"); background-repeat: no-repeat; background-size: 17rem 7.5rem; vertical-align: middle; }\r\n  .service-icon-1 { width: 17rem; height: 3.5rem; }\r\n  .service-icon-1-mini {width: 17rem; height: 1.1rem;background-position:center -6.1rem}\r\n  .service-icon-5 {width: 2rem;height: 100%;background-position: -6rem -3.5rem;position: absolute;right:0;top:0;}\r\n  .service-icon-2,.service-icon-3,.service-icon-4 {width: 2rem;height: 2rem;float: left;margin-right: 0.5rem}\r\n  /*ssssss*/\r\n  .service-icon-6,.service-icon-7,.service-icon-8,.service-icon-9,.service-icon-10 {width: 1.5rem;height: 1.8rem;float: left;margin:-0.25rem 0.5rem 0 0}\r\n  .service-icon-6 {background-position: -8.2rem -3.5rem}\r\n  .service-icon-7 {background-position: -9.95rem -3.5rem}\r\n  .service-icon-8 {background-position: -11.75rem -3.6rem}\r\n  .service-icon-9 {background-position: -13.6rem -3.5rem}\r\n  .service-icon-10 {background-position: -15.4rem -3.5rem}\r\n  /*ssssss*/\r\n  .service-icon-2 {background-position: 0 -3.5rem}\r\n  .service-icon-3 {background-position: -2rem -3.5rem}\r\n  .service-icon-4 {background-position: -4rem -3.5rem}\r\n  .service-txt-pop {width:15.25rem;position: fixed;top:50%;left:50%;z-index:2;-webkit-transform:translateX(-50%) translateY(-50%);overflow: hidden;}\r\n  .service-txt-pop .hd {background-color: #4289ff;padding: 0.5rem;text-align: center;color: #fff;font-size: 0.8rem;position: relative;border-radius: 0.35rem 0.35rem 0 0;}\r\n  .service-txt-pop .bd {padding: 1rem 0.9rem 0.5rem 0.65rem;background-color: #fff;border-radius:0 0 0.35rem 0.35rem}\r\n  .service-txt-pop .bd li {padding-bottom: 0.75rem;color: #666}\r\n  .service-txt-pop .s-color {font-size: 0.8rem;color: #4289ff} </style> <div class="service-txt-pop"> <div class="hd">\u4e13\u4e1a\u670d\u52a1 \u5168\u7a0b\u4fdd\u969c<i class="service-icon service-icon-5 js_close_btn"></i></div> <ul class="bd"> <%if(from === \'index\'){%> <li class="item"> <i class="service-icon service-icon-6"></i> <div class="bfc"> <p class="s-color">\u6d77\u91cf\u9152\u5e97&\u8d85\u5e7f\u8986\u76d6</p> <p class="mt2">121\u4e07\u5bb6\u4f18\u8d28\u9152\u5e97</p> <p class="mt2">\u8986\u76d6\u5168\u7403200\u4f59\u4e2a\u56fd\u5bb6\u548c\u5730\u533a</p> </div> </li> <li class="item"> <i class="service-icon service-icon-7"></i> <div class="bfc"> <p class="s-color">\u5ba2\u89c2\u771f\u5b9e\u7684\u70b9\u8bc4\u548c\u56fe\u7247</p> <p class="mt2">1.2\u4ebf\u6761\u70b9\u8bc4\u6765\u81ea\u5ba2\u4eba\u771f\u5b9e\u4f4f\u5bbf\u4f53\u9a8c</p> <p class="mt2">6\u5343\u4e07\u5f20\u9ad8\u6e05/\u5b9e\u666f\u5927\u56fe\u7acb\u4f53\u8fd8\u539f\u9152\u5e97\u5b9e\u666f</p> </div> </li> <li class="item"> <i class="service-icon service-icon-8"></i> <div class="bfc"> <p class="s-color">\u8d85\u9ad8\u6027\u4ef7\u6bd4&\u4ef7\u683c\u4fdd\u969c</p> <p class="mt2">\u6bcf\u65e5\u4f18\u60e0\u4e0d\u65ad\uff0c\u4f18\u60e0\u5238\u7279\u4ef7\u623f\u62a2\u5230\u624b\u8f6f</p> <p class="mt2">\u4e3a\u60a8\u7684\u9884\u8ba2\u8d1f\u8d23\uff01\u9884\u8ba2\u786e\u8ba4\u540e\u4fdd\u969c\u8ba2\u5355\u4ef7\u5165\u4f4f</p> </div> </li> <%}else if(from === \'detail\'){%> <li class="item"> <i class="service-icon service-icon-9"></i> <div class="bfc"> <p class="s-color">\u591a\u91cd\u623f\u6e90\u9009\u62e9 & \u6709\u623f\u4fdd\u969c</p> <p class="mt2">\u7cbe\u5fc3\u6311\u9009\u5168\u7f51\u4f18\u8d28\u623f\u6e90\uff0c\u4fdd\u969c\u6709\u623f\u53ef\u8ba2</p> <p class="mt2">\u786e\u8ba4\u540e\u65e0\u623f\uff0c\u7b2c\u4e00\u65f6\u95f4\u5168\u529b\u534f\u8c03\u5e76\u627f\u62c5\u5dee\u4ef7</p> </div> </li> <li class="item"> <i class="service-icon service-icon-8"></i> <div class="bfc"> <p class="s-color">\u8d85\u9ad8\u6027\u4ef7\u6bd4 & \u4ef7\u683c\u4fdd\u969c</p> <p class="mt2">\u6bcf\u65e5\u4f18\u60e0\u4e0d\u65ad\uff0c\u4f18\u60e0\u5238\u7279\u4ef7\u623f\u62a2\u5230\u624b\u8f6f</p> <p class="mt2">\u4e3a\u60a8\u7684\u9884\u8ba2\u8d1f\u8d23\uff01\u9884\u8ba2\u786e\u8ba4\u540e\u4fdd\u969c\u8ba2\u5355\u4ef7\u5165\u4f4f</p> </div> </li> <li class="item"> <i class="service-icon service-icon-10"></i> <div class="bfc"> <p class="s-color">\u6700\u5feb\u79d2\u7ea7\u786e\u8ba4\u9501\u5b9a\u623f\u6e90</p> <p class="mt2">\u6700\u5feb\u79d2\u7ea7\u786e\u8ba4\uff0c\u6025\u901f\u9501\u5b9a\u623f\u6e90\uff0c\u8ba9\u60a8\u51fa\u884c\u65e0\u5fe7</p> </div> </li> <%}else {%> <li class="item"> <i class="service-icon service-icon-9"></i> <div class="bfc"> <p class="s-color">\u623f\u6e90/\u623f\u4ef7\u53cc\u91cd\u4fdd\u969c</p> <p class="mt2">\u786e\u8ba4\u540e\u65e0\u623f\uff0c\u7b2c\u4e00\u65f6\u95f4\u5168\u529b\u534f\u8c03\u5e76\u627f\u62c5\u5dee\u4ef7</p> <p class="mt2">\u9884\u5b9a\u786e\u8ba4\u540e\u4fdd\u969c\u8ba2\u5355\u4ef7\u5165\u4f4f</p> </div> </li> <li class="item"> <i class="service-icon service-icon-9"></i> <div class="bfc"> <p class="s-color">\u4fe1\u606f\u4fdd\u969c & \u5b89\u5168\u652f\u4ed8</p> <p class="mt2">\u643a\u7a0b\u72ec\u521b\u7684\u4fdd\u969c\u4f53\u7cfb\u786e\u4fdd\u60a8\u7684\u9690\u79c1\u5b89\u5168</p> <p class="mt2">\u5b8c\u5907\u7684\u6570\u636e\u52a0\u5bc6\u548c\u98ce\u63a7\u4f53\u7cfb\u786e\u4fdd\u60a8\u7684\u652f\u4ed8\u5b89\u5168</p> </div> </li> <li class="item"> <i class="service-icon service-icon-9"></i> <div class="bfc"> <p class="s-color">7*24\u5c0f\u65f6\u670d\u52a1</p> <p class="mt2">\u968f\u65f6\u968f\u5730\u81ea\u52a9\u7ba1\u7406\u8ba2\u5355</p> <p class="mt2">\u5728\u7ebf\u5ba2\u670d/\u7f51\u7edc\u7535\u8bdd\u5168\u65b9\u4f4d\u670d\u52a1</p> </div> </li> <%}%> </ul> </div> '
        }, octw: function (t, e) {
            function i() {
                return []
            }

            t.exports = i
        }, of8C: function (t, e) {
            t.exports = ' <div class="c-box"> <%\r\n  var facilities = obj.facilities || [];\r\n  var meeting = obj.meeting || {};\r\n  var policies = obj.policies || [];\r\n  var childpocily = obj.childpocily || {};\r\n  var featureinfo = obj.featureinfo || "";\r\n  var featurelists = obj.featurelists || [];\r\n  var lightpoint = obj.lightpoint || "";\r\n  var tip = obj.tip || "";\r\n  var threedesc = obj.threedesc || [];\r\n  if(facilities.length>0){ %> <div class="dl-policy-layer"> <%\r\n     for(var i=0; i< facilities.length; i++){\r\n      var facGroup = facilities[i];\r\n      if (facGroup && facGroup.facilities) {\r\n      var facItems = facGroup.facilities;\r\n       %> <p><%=facGroup.iconClass%><%=facGroup.categoryName%></p> <ul class="fac clearfix"> <%\r\n          var meetingShowIndex = -1;\r\n          for (var j = 0; j < facItems.length; j++) {\r\n              var facName;\r\n              if (facItems[j] && facItems[j].name) {\r\n                facName = facItems[j].name.replace(\'\u514d\u8d39\', \'<span class="dl-color7">$&</span>\');\r\n              }\r\n          if(facGroup.categoryType===12 && facItems[j]&&facItems[j].id===6 && meeting&&meeting.count) {\r\n            meetingShowIndex = Math.ceil((j + 1) / 3) * 3 - 1;\r\n            meetingShowIndex = (meetingShowIndex >= facItems.length) ? (facItems.length - 1) : meetingShowIndex;\r\n          %> <li class="item js_meetingRoom" data-ubt-key="c_hotel_more_tab_meeting"> <%=facName%> <span class="dl-color2 pl10 dl-hor-arrow js_meetingRoomSwitch">\u8be6\u60c5&nbsp;<i class="dl-font-arrow-down dl-fn8 js_meetingRoomSwitchIcon"></i></span> </li> <%} else {%> <li class="item"><%=facName%></li> <%}\r\n\r\n            if(meetingShowIndex>0 && (j === meetingShowIndex)) {\r\n              meetingShowIndex = -1;\r\n          %> <div class="drop-down js_meetingRoomDetail"> <ul class="hor clearfix"> <li class="item"> <span class="dl-color4 pr10">\u6570\u91cf</span><%=meeting.count%> </li> <li class="item"> <span class="dl-color4 pr10">\u697c\u5c42</span><%=meeting.floor%> </li> <li class="item"> <span class="dl-color4 pr10">\u5bb9\u7eb3</span><%=meeting.capacity%> </li> <li class="item"> <span class="dl-color4 pr10">\u9762\u79ef</span><%=meeting.area%>m\xb2 </li> </ul> <%if(meeting.freefac) { %> <p class="dl-color4">\u514d\u8d39\u8bbe\u65bd</p> <p><%=meeting.freefac%></p> <p class="sp-color11 pt5"><i class="sell-font-fac-careful"></i>&nbsp;\u6ce8\uff1a\u4ee5\u4e0a\u514d\u8d39\u8bbe\u65bd\u4ec5\u4f9b\u53c2\u8003\uff0c\u5177\u4f53\u4ee5\u5404\u5385\u63d0\u4f9b\u4e3a\u51c6\u3002</p> <%}%> </div> <%}\r\n            }%> </ul> <% }\r\n     }%> </div> <%}%> <%if(policies.length>0){%> <div class="dl-policy-layer"> <div class="bd"> <%var first = policies[0];%> <p><%=first.title%></p> <%\r\n      var subCategory = first.subCategory;\r\n      if(subCategory.length>0){\r\n      for(var j=0; j< subCategory.length; j++){\r\n      %> <p class="dl-color3 fw300"><%=subCategory[j].description%></p> <%}\r\n      }%> <%\r\n      if(policies.length>1 && !isChildScene){\r\n        for (var i = 1, len=policies.length; i < len; i++) {\r\n          var item = policies[i];\r\n          if (item.title) {%> <p class="pt10"><%=item.title%></p> <%}\r\n          var subCategory = item.subCategory;\r\n          if(subCategory.length>0){\r\n            for(var j=0; j< subCategory.length; j++){\r\n            %> <p class="dl-color3 fw300"><%=subCategory[j].description%></p> <%}\r\n          }\r\n        }\r\n      }%> <%\r\n      var childCategory = childpocily && childpocily.subCategory || [];\r\n      if(childCategory.length>0){%> <p class="<%=isChildScene ? \'dl-color pt10\' : \'pt10\'%>"><%=childpocily.title%></p> <% for(var k=0; k < childCategory.length; k++){ %> <div class="dl-color3 pt10 fw300"> <div class="bfc"> <%var descriptionItem = childCategory[k].description || [];\r\n          for(var q=0; q < descriptionItem.length; q++){%> <div class="dl-color4 pr10 fl">\u2022</div> <div class="bfc"><%=descriptionItem[q]%></div> <%}%> <%\r\n          var rowsItem = childCategory[k].rows|| [];\r\n          if(rowsItem.length>0){\r\n          %> <table class="dl-child-policy"> <tbody> <%\r\n            for(var p=0; p < rowsItem.length; p++){%> <tr> <th width="55"><%=rowsItem[p].firstColumn%></th> <th width="65"><%=rowsItem[p].middleColumn%></th> <td><%=rowsItem[p].lastColumn%></td> </tr> <%}%> </tbody> </table> <%}%> </div> <%}%> </div> <%}%> <%\r\n      if(policies.length>1 && isChildScene){\r\n        for (var i = 1, len=policies.length; i < len; i++) {\r\n          var item = policies[i];\r\n          if (item.title) {%> <p class="pt10"><%=item.title%></p> <%}\r\n          var subCategory = item.subCategory;\r\n          if(subCategory.length>0){\r\n            for(var j=0; j< subCategory.length; j++){%> <p class="dl-color3 fw300"><%=subCategory[j].description%></p> <%}\r\n          }\r\n        }\r\n      }%> </div> </div> <%}%> <%if((featureinfo!="") || (lightpoint!="") || (tip!="") || (threedesc.length>0)){%> <div class="dl-policy-layer"> <div class="bd"> <ul class="dl-disc"> <%if(featureinfo!=""){%> <div class="disc-tit">\u9152\u5e97\u7279\u8272</div> <%for(var i=0; i< featurelists.length; i++){%> <%if(featurelists[i].description!=""){%> <li><span class="dl-color8 fw300"><%=featurelists[i].description%></span></li> <%}\r\n              }%> <%}%> <%if(lightpoint!=""){%> <div class="disc-tit">\u63a8\u8350\u7406\u7531</div> <li><span class="dl-color8 fw300"><%=lightpoint%></span></li> <%}%> <%if(tip!=""){%> <div class="disc-tit">\u5c0f\u8d34\u58eb</div> <li><span class="dl-color8 fw300"><%=tip%></span></li> <%}%> <%if(threedesc.length>0){%> <div class="disc-tit">\u5927\u5bb6\u8fd8\u8fd9\u4e48\u8bc4\u4ef7</div> <%for(var i=0; i< threedesc.length; i++){%> <li><span class="dl-color8 fw300"><%=threedesc[i]%></span></li> <%}%> <%}%> </ul> </div> </div> <%}%> </div> '
        }, p3b7: function (t, e, i) {
            function a(t, e, i) {
                var a = u.imports._.templateSettings || u;
                i && d(t, e, i) && (e = void 0), t = m(t), e = o({}, e, a, r);
                var D, w, E = o({}, e.imports, a.imports, r), k = h(E), T = s(E, k), O = 0, P = e.interpolate || y,
                    x = "__p += '",
                    M = RegExp((e.escape || y).source + "|" + P.source + "|" + (P === p ? v : y).source + "|" + (e.evaluate || y).source + "|$", "g"),
                    A = "sourceURL" in e ? "//# sourceURL=" + e.sourceURL + "\n" : "";
                t.replace(M, function (e, i, a, o, n, s) {
                    return a || (a = o), x += t.slice(O, s).replace(b, l), i && (D = !0, x += "' +\n__e(" + i + ") +\n'"), n && (w = !0, x += "';\n" + n + ";\n__p += '"), a && (x += "' +\n((__t = (" + a + ")) == null ? '' : __t) +\n'"), O = s + e.length, e
                }), x += "';\n";
                var I = e.variable;
                I || (x = "with (obj) {\n" + x + "\n}\n"), x = (w ? x.replace(f, "") : x).replace(_, "$1").replace(g, "$1;"), x = "function(" + (I || "obj") + ") {\n" + (I ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (D ? ", __e = _.escape" : "") + (w ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + x + "return __p\n}";
                var C = n(function () {
                    return Function(k, A + "return " + x).apply(void 0, T)
                });
                if (C.source = x, c(C)) throw C;
                return C
            }

            var o = i("zZmx"), n = i("eJMW"), s = i("ktnU"), r = i("blm4"), l = i("9lab"), c = i("Xu6E"), d = i("zBOP"),
                h = i("ktak"), p = i("/Rdg"), u = i("QUuP"), m = i("ZT2e"), f = /\b__p \+= '';/g,
                _ = /\b(__p \+=) '' \+/g, g = /(__e\(.*?\)|\b__t\)) \+\n'';/g, v = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
                y = /($^)/, b = /['\n\r\u2028\u2029\\]/g;
            t.exports = a
        }, p4wQ: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = i("IK+G"), s = i.n(n), r = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = s.a, this.needAnimat = !0, this.animateInClass = "animated fadeInUp", this.animateOutClass = "animated fadeOutDown";
                    var e = this;
                    this.needAnimat && (this.animateShowAction || (this.animateShowAction = function (t) {
                        var i = !1, a = t.find(".js_roomdesc_bar");
                        t.show(), a.addClass(e.animateInClass), a.one($.fx.animationEnd, function () {
                            i = !0, a.removeClass(e.animateInClass)
                        }), setTimeout(function () {
                            i || (a.removeClass(e.animateInClass), a.off($.fx.animationEnd))
                        }, 350)
                    }), this.animateHideAction || (this.animateHideAction = function (t) {
                        var i = !1, a = t.find(".js_roomdesc_bar");
                        a.addClass(e.animateOutClass), a.one($.fx.animationEnd, function () {
                            i = !0, a.removeClass(e.animateOutClass), t.hide()
                        }), setTimeout(function () {
                            i || (a.removeClass(e.animateOutClass), a.off($.fx.animationEnd), t.hide())
                        }, 350)
                    }))
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this), this.addEvents({"click .js_goto_toproom": this.gotoTopRoom.bind(this)})
                }, e.prototype.gotoTopRoom = function () {
                    this.trigger("gotoTopRoom")
                }, e.prototype.updateDesc = function (t) {
                    if (t.roomstatus) {
                        var e = this.$el.find(".js_roomstatus_bottom");
                        e && e.length > 0 && e.html(t.roomstatus);
                        var i = this.$el.find(".js_roomdesc_bottom");
                        i && i.length > 0 && i.show()
                    } else {
                        var i = this.$el.find(".js_roomdesc_bottom");
                        i && i.length > 0 && i.hide()
                    }
                }, e
            }(o.a);
            e.a = r
        }, pqFS: function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = new a.b({key: "S_HOTEL_NEWGUEST_REGISTER_COUPON", lifeTime: "5M"}), n = function () {
                function t() {
                    for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e]
                }

                return t.prototype.setCache = function (t, e) {
                    o.setAttr(t, e || [])
                }, t.prototype.getCache = function (t) {
                    return o.getAttr(t) || []
                }, t.prototype.clearCache = function () {
                    o.removeAttr(this.key)
                }, t
            }();
            e.a = n
        }, py9u: function (t, e, i) {
            function a(t, e) {
                return t && o(e, n(e), t)
            }

            var o = i("tv3T"), n = i("t8rQ");
            t.exports = a
        }, q2rF: function (t, e, i) {
            "use strict";

            function a(t) {
                t = t || window.event, t.preventDefault && t.preventDefault(), t.returnValue = !1
            }

            var o = i("TToO"), n = i("BUAs"), s = i.n(n), r = i("za/N"), l = i("UoIM"), c = i("yaBp"), d = i("qc/Z"),
                h = i("LpuJ"), p = i("QVf9"), u = i("IJ3o"), m = i("+b/N"), f = i("yKmV"), _ = i("QEiL"), g = i("KoQ7"),
                v = i("wQSy"), y = function (t) {
                    function e() {
                        return t.call(this, {key: "P_HOTEL_BURN_AFTER_READING", lifeTime: "1H", defaultData: {}}) || this
                    }

                    return o.a(e, t), e.prototype.setOneMessage = function (t, e) {
                        this.setAttr(t, e)
                    }, e.prototype.getOneMessage = function (t) {
                        var e = this.getAttr(t);
                        return e && this.setAttr(t, ""), e
                    }, e
                }(m.b), b = new y,
                D = (new m.b({key: "P_HOTEL_QUERYSTORE", lifeTime: "2D", isUserData: !0, defaultData: {}}), new v.a),
                w = function (t) {
                    function e() {
                        for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];
                        var a = t.apply(this, e) || this;
                        return a.morningStore = D, a.loading = r.a, a.$header = $("#header"), a.pageData = "undefined" != typeof __HOTEL_PAGE_DATA__ ? __HOTEL_PAGE_DATA__ : {}, a.appData = "undefined" != typeof __HOTEL_COMMON_DATA__ ? __HOTEL_COMMON_DATA__ : {}, a.channelData = "undefined" != typeof __HOTEL_CHANNEL_DATA__ ? __HOTEL_CHANNEL_DATA__ : {}, a.pageId = $("#page_id").val(), $('SCRIPT[id="pageData"]').remove(), a.importHeader(), a
                    }

                    return o.a(e, t), e.prototype.importHeader = function () {
                        c.a.vendor.is("CTRIP") ? this.headerview = i.e(1).then(i.bind(null, "2Vyt")) : this.headerview = i.e(0).then(i.bind(null, "pUt8"))
                    }, e.prototype.ready = function () {
                        if (c.a.vendor.is("CTRIP")) {
                            new u.default.Fn("set_navbar_hidden").run(!1)
                        }
                        h.a.confirmForward(this.pageName), h.a.addHistory(this.getUrlParams("pageName") || this.pageName, location.href, 2), this.events = this.getEvents(), this.bindEvents(), this.channelData && 1 == this.channelData.isHideHeader || this.setupHeader(), this.setupPageScroll(), this.getABResult(), this.recordUserPageFlow()
                    }, e.prototype.getABResult = function () {
                        if (this.appData.clientId === g.a.get("GUID")) {
                            var t = {
                                abMap: this.appData.abtests,
                                isSpa: 0,
                                pageid: $("#page_id").val(),
                                lastRequestId: this.appData.requestId
                            };
                            f.a.post("/webapp/hotel/api/static/abresult", t, function (t) {
                            }, function () {
                            }, 3e4)
                        }
                    }, e.prototype.setupHeader = function () {
                        var t = this;
                        return this.headerview.then(function (e) {
                            t.header = e.default;
                            var i = t.getHeaderSettings(t.header.isHybrid) || {}, a = !!i.isBindEvtOnly;
                            return delete i.isBindEvtOnly, t.header.set(s()({el: t.$header.children("div")}, i), a)
                        })
                    }, e.prototype.setupPageScroll = function () {
                        var t = this, e = $(window);
                        if (this.getPageScrollHandlers) {
                            var i = this.getPageScrollHandlers() || {}, a = [];
                            Object.keys(i || {}).forEach(function (e) {
                                "function" == typeof i[e] && ("scrollBottom" === e ? a.push(function () {
                                    return Object(d.a)(i.scrollBottom.bind(t))
                                }) : "scrollTop" === e ? a.push(function () {
                                    return Object(d.b)(i.scrollTop.bind(t))
                                }) : a.push(i[e].bind(t)))
                            });
                            var o = function () {
                                a.forEach(function (t) {
                                    return t()
                                })
                            };
                            e.off("scroll", o).on("scroll", o), e.off("touchmove", o).on("touchmove", o)
                        }
                    }, e.prototype.getEvents = function () {
                    }, e.prototype.getHeaderSettings = function () {
                    }, e.prototype.getPageScrollhandlerMap = function () {
                    }, e.getenvHost = function () {
                        var t = location.host;
                        return t.match(/m.fat/i) || t.match(/^m.test/i) ? location.protocol + "//w-hotel-m.fat369.qa.nt.ctripcorp.com" : location.origin
                    }, e.prototype.getUrlParams = function (t, e) {
                        if (this.result) {
                            if (t) {
                                var i = this.result[t.toLowerCase()] || "";
                                return e ? i : i.toLowerCase()
                            }
                            return this.result
                        }
                        var a = decodeURIComponent(location.search), o = [];
                        return this.result = {}, t && (t = t.toLowerCase()), a = a.replace(/\?/, ""), a && (o = a.split("&"), o.forEach(function (t) {
                            if (t) {
                                var e = t.split("=");
                                this.result[e[0].toLowerCase()] = e[1] && e[1]
                            }
                        }, this)), this.getUrlParams(t)
                    }, e.prototype.showloading = function () {
                        this.loading.show()
                    }, e.prototype.hideloading = function () {
                        this.loading.hide()
                    }, e.prototype.disableScroll = function () {
                        try {
                            $(window).bind("wheel", a), $(window).bind("touchmove", a)
                        } catch (t) {
                        }
                    }, e.prototype.enableScroll = function () {
                        try {
                            $(window).unbind("wheel", a), $(window).unbind("touchmove", a)
                        } catch (t) {
                        }
                    }, e.prototype.back = function (t) {
                        Object(p.a)(this.pageName, t)
                    }, e.prototype.backV2 = function (t) {
                        Object(p.b)(this.pageName, t)
                    }, e.prototype.setOneMessage = function (t, e) {
                        b.setOneMessage(t, e)
                    }, e.prototype.getOneMessage = function (t) {
                        return b.getOneMessage(t)
                    }, e.prototype.recordUserPageFlow = function (t) {
                        try {
                            var e = new _.a(this.appData.islanding);
                            this.pageflow = e.createPage(this.appData.pageid, t)
                        } catch (t) {
                        }
                    }, e.prototype.recordUserActionFlow = function (t, e) {
                        try {
                            this.pageflow.addAction(t, e)
                        } catch (t) {
                        }
                    }, e
                }(l.a);
            e.a = w
        }, q49O: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("6V0j"), s = i.n(n), r = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = s.a, this.unbindTouchEvent = !1, this.events = {
                        "click .js_close_btn": function () {
                            this.mask && this.mask.hide(), this.hide()
                        }
                    }
                }, e.prototype.resetDefaultProperty = function () {
                    t.prototype.resetDefaultProperty.call(this)
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this, e)
                }, e
            }(o.a);
            e.a = r
        }, qYgb: function (t, e) {
            t.exports = '<div class="js_pop_slide_container"></div> '
        }, "qc/Z": function (t, e, i) {
            "use strict";

            function a() {
                var t = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft);
                return {
                    top: Math.max(document.documentElement.scrollTop, document.body.scrollTop),
                    left: t,
                    height: Math.min(document.documentElement.clientHeight, document.body.clientHeight),
                    width: Math.min(document.documentElement.clientWidth, document.body.clientWidth),
                    pageWidth: Math.max(document.documentElement.scrollWidth, document.body.scrollWidth),
                    pageHeight: Math.max(document.documentElement.scrollHeight, document.body.scrollHeight)
                }
            }

            function o(t) {
                var e = a();
                if (0 !== parseInt(e.top, 10)) {
                    e.pageHeight - (e.top + e.height) <= 81 && !c && !d && (d = !0, "function" == typeof t && t())
                }
            }

            function n(t) {
                var e = a();
                e.top <= 0 && !c && !d && (d = !0, t(e))
            }

            function s() {
                d = !1
            }

            function r() {
                d = !0, c = !0
            }

            function l() {
                d = !1, c = !1
            }

            e.a = o, e.b = n, e.d = s, e.c = r, e.e = l;
            var c = !1, d = !1
        }, "r/6W": function (t, e, i) {
            "use strict";

            function a() {
                var t = this.pageData.hotelid, e = this.pageData.isoversea, i = this.pageData.inday.split("/").join(""),
                    a = this.pageData.days, o = this.morningStore && this.morningStore.isMorning(),
                    r = Object(s.c)((e ? "oversea/" : "") + "hoteldetail/dianping/" + t + ".html?&fr=detail&atime=" + i + "&days=" + a + (o ? "&ismorning=1" : ""));
                Object(n.c)("comment", r)
            }

            function o(t) {
                var e = $(t.currentTarget), i = e.data("val") + "_" + e.data("tagname"), a = e.data("type"),
                    o = "reco" === a ? "&reco=" + e.data("val") : "", r = "tag" === a ? "&tag=" + e.data("val") : "",
                    l = this.pageData.hotelid, c = this.pageData.isoversea, d = this.pageData.inday.split("/").join(""),
                    h = this.pageData.days, p = this.morningStore && this.morningStore.isMorning(),
                    u = Object(s.c)((c ? "oversea/" : "") + "hoteldetail/dianping/" + l + ".html?opr=" + i + "&fr=detail&atime=" + d + "&days=" + h + o + r + (p ? "&ismorning=1" : ""));
                Object(n.c)("comment", u)
            }

            e.a = a, e.b = o;
            var n = i("QVf9"), s = i("xvyn")
        }, rCVp: function (t, e, i) {
            function a(t) {
                return (null == t ? 0 : t.length) ? o(t, 1) : []
            }

            var o = i("1C79");
            t.exports = a
        }, s96k: function (t, e) {
            function i(t, e, i) {
                for (var a = -1, o = null == t ? 0 : t.length; ++a < o;) if (i(e, t[a])) return !0;
                return !1
            }

            t.exports = i
        }, sHMc: function (t, e) {
            t.exports = '<% if(result){ %> <h2>\u60a8\u7684\u4e13\u5c5e\u4f18\u60e0\u5238\u5df2\u5230\u8d26</h2> <div class="coupons-price"> <div class="end"><small>&yen;</small><%=result.amount%></div> <div class="start"> <p><%=result.name%></p> <p class="c999 fn10"><%=result.validPeriod%></p> </div> </div> <div class="coupons-txt"> <p>\u4f7f\u7528\u8bf4\u660e\uff1a</p> <p class="c666"><%=result.desc%></p> <p class="c666">\u9886\u53d6\u7684\u4f18\u60e0\u5238\u53ef\u5728\u201c\u6211\u7684-\u4f18\u60e0\u5238\u201d\u4e2d\u67e5\u770b</p> </div> <div class="coupons-btn js_ok">\u77e5\u9053\u4e86</div> <% } %> '
        }, "sLy/": function (t, e) {
            t.exports = '<%if (typeof pay !== "undefined" || (nots && nots.length || inLimit || agentMsg ||(serviceTags && serviceTags.length) || ladderDeduction )) {%> <ul class="l-policy l-tb-border mb5"> <%if(inLimit || agentMsg ||(serviceTags && serviceTags.length) || ladderDeduction ) {%> <%if(inLimit){%> <li class="item"> <p class="l-color1">\u7279\u522b\u63d0\u793a</p> <p class="l-color4"><%=inLimit%></p> <%}%> </li> <%if(agentMsg){%> <li class="item"><p class="l-color4"><%=agentMsg%></p></li> <%}%> <% if(ladderDeduction && ladderDeduction.ladderCancelType && ladderDeduction.details && ladderDeduction.details.length){%> <li class="item"> <span class="tag-mod"> <%if(ladderDeduction.ladderCancelType === \'Free\'){%> <span class="dt-tag tag08">\u9650\u65f6\u53d6\u6d88</span> <%}else if(ladderDeduction.ladderCancelType === \'PartialFee\'){%> <span class="dt-tag tag08">\u53ef\u53d6\u6d88</span> <%}else{%> <span class="dt-tag tag08">\u4e0d\u53ef\u53d6\u6d88</span> <%}%> </span> <span class="bfc l-color4"> <ul class="g-cancel mt5"> <%for(var i=0,len=ladderDeduction.details.length;i< len;i++){%> <%if(i === 0){%> <li class="thead"> <%if(isoversea){%> <span><%=ladderDeduction.details[i].hotelLocalTimeDesc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></span> <%}%> <span><%=ladderDeduction.details[i].userLocalTimeDesc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></span> <span><%=ladderDeduction.details[i].amountDesc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></span> </li> <%}else{%> <li class="tbody"> <%if(isoversea){%> <span><%=ladderDeduction.details[i].hotelLocalTimeDesc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></span> <%}%> <span><%=ladderDeduction.details[i].userLocalTimeDesc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></span> <span class="<%=ladderDeduction.details[i].amountDesc === "\u514d\u8d39"? "free":""%>"><%=ladderDeduction.details[i].amountDesc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></span> </li> <%}%> <%}%> </ul> </span> </li> <%}%> <%if(serviceTags && serviceTags.length){\r\n      for(var i=0,len=serviceTags.length;i< len;i++){\r\n  %> <li class="item"> <%=serviceTags[i].title%> <%\r\n    var needElipse = false;\r\n    if (serviceTags[i].title && serviceTags[i].title.indexOf("\u7acb\u5373\u786e\u8ba4") > -1) {%> <p class="l-color4"><%=serviceTags[i].desc%></p> <%}else{ needElipse = true;%> <p class="l-color4 pop_b_tag_desc_ellipsis" style="display:none"><%=serviceTags[i].desc.split(/\\,|\uff0c|\u3002/)[0].replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></p> <p class="l-color4 pop_b_tag_desc_all"><%=serviceTags[i].desc.replace(/\u514d\u8d39\u53d6\u6d88/g, \'<span class="sp-color7">\u514d\u8d39\u53d6\u6d88</span>\')%></p> <%}%> </li> <%}}%> <%}%> <%if (typeof pay !== "undefined") {%> <li class="item"> <%if (pay === 1) {%> <p class="l-color4 mt5">\u5230\u5e97\u4ed8</p> <p class="l-color4 ellips3">\u65e0\u9700\u63d0\u524d\u652f\u4ed8\u623f\u8d39\uff0c\u5230\u5e97\u540e\u5728\u9152\u5e97\u524d\u53f0\u4ed8\u6b3e\u3002</p> <%} else if (pay === 2) {%> <p class="l-color4 mt5">\u5728\u7ebf\u4ed8</p> <p class="l-color4 ellips3">\u623f\u8d39\u9700\u63d0\u524d\u652f\u4ed8\uff0c\u53ef\u4f7f\u7528\u94f6\u884c\u5361\u3001\u652f\u4ed8\u5b9d\u3001\u5fae\u4fe1\u7b49\u8fdb\u884c\u4ed8\u6b3e\u3002</p> <%} else if (pay === 3) {%> <p class="l-color4 mt5">\u62c5\u4fdd</p> <p class="l-color4 ellips3">\u652f\u4ed8\u62c5\u4fdd\u91d1\uff0c\u63d0\u524d\u9501\u5b9a\u623f\u6e90\u3002\u5230\u5e97\u9700\u53e6\u4ed8\u623f\u8d39\uff0c\u62c5\u4fdd\u91d1\u4e8e\u5165\u4f4f\u79bb\u5e97\u540e3\u65e5\u5185\u9000\u8fd8\u3002</p> </li> <%}}%> </ul> <%}%>'
        }, swjm: function (t, e, i) {
            "use strict";

            function a() {
                var t, e = document.createElement("fakeelement"), i = {
                    animation: "animationend",
                    OAnimation: "oAnimationEnd",
                    MozAnimation: "animationend",
                    WebkitAnimation: "webkitAnimationEnd"
                };
                for (t in i) if (void 0 !== e.style[t]) return i[t]
            }

            e.a = a
        }, t8rQ: function (t, e) {
            function i(t) {
                var e = [];
                if (null != t) for (var i in Object(t)) e.push(i);
                return e
            }

            t.exports = i
        }, tDsL: function (t, e) {
            t.exports = ' <%if(typeof filters===\'undefined\'){return;}%> <div class="dl-popview js_dl-popview"> <div class="dl-popview-filter js_widget_roomfilter_box"> <div class="dl-ptop dl-subpopview hotel-scroll-touch js_widget_roomfilter_box"> <div class="item"> <div class="dl-tags dl-cell dl-tags-ui1" data-multiple="1" data-ftype="quickfilter"> <% var top4items = _.filter(quickFilters, function(f,ii){return ii<4;});\r\n            var after4items = _.filter(quickFilters, function(f,ii){return ii>=4;}); %> <%_.each(top4items, function(item){%> <span class="item" data-key="<%=item.item.key%>" data-ftype="<%=item.ftype%>"><%=item.item.val%></span> <%});%> <span class="item js_room_filter_btn">\u7b5b\u9009<i class="dl-font-arrow-up dl-fn8 ml2"></i><span class="selected js_widget_room_filter_amount" style="display:none;"></span></span> </div> </div> <div class="dl-tags dl-cell dl-tags-ui1 subpopview-tags" data-multiple="1" data-ftype="quickfilter"> <%if(after4items && after4items.length){%> <%_.each(after4items, function(item){%> <span class="item" data-key="<%=item.item.key%>" data-ftype="<%=item.ftype%>" data-ubt-key="c_hotel_detail_filter_item"><%=item.item.val%></span> <%});%> <%};%> </div> <%_.each(filters, function(filter, i){ var radiocss = filter.multiple ===1 ? "" : " tags-radio "; var firstItemClass = (i===0? \'dl-ptop dl-t-border\' : \'\')   %> <div class="item <%=firstItemClass%>"> <div class="title"><%=filter.title%></div> <div class="dl-tags cell-star" data-multiple="<%=filter.multiple%>" data-ftype="<%=filter.ftype%>"> <%_.each(filter.items, function(item){%> <span class="item" data-key="<%=item.key%>" data-ftype="<%=item.ftype%>" data-ubt-key="c_hotel_detail_filter_item"><%=item.val%></span> <%});%> </div> </div> <%})%> <div class="dl-pop-btn dl-cell dl-t-border"> <div class="dl-btn-reset js_btn_recoverDefault" data-ubt-key="c_hotel_detail_filter_default">\u6e05\u7a7a</div> <div class="dl-btn-sure cell-star ml10 js_btn_confirm" data-ubt-key="c_hotel_detail_filter_check">\u786e\u5b9a</div> </div> </div> </div> </div> '
        }, tPu2: function (t, e, i) {
            function a(t, e) {
                var i;
                if ("function" != typeof e) throw new TypeError(n);
                return t = o(t), function () {
                    return --t > 0 && (i = e.apply(this, arguments)), t <= 1 && (e = void 0), i
                }
            }

            var o = i("5Zxu"), n = "Expected a function";
            t.exports = a
        }, tlCT: function (t, e, i) {
            "use strict";

            function a(t, e) {
                return z[e] || (z[e] = d()(t)), z[e]
            }

            function o(t) {
                var e = m.a;
                return {
                    title: t.baseroomName,
                    body: a(L.a, "baseroomContainer")({
                        slider: a(p.a, "slider")(t),
                        comment: "",
                        agentinfo: "",
                        basicinfo: a(e, "baseroombasicinfo")(t),
                        facility: a(v.a, "facility")(t)
                    }),
                    footer: a(C.a, "basefooter")(t)
                }
            }

            function n(t) {
                var e = _.a;
                return {
                    title: t.baseroomName,
                    body: a(L.a, "baseroomContainer")({
                        slider: a(p.a, "slider")(t),
                        comment: "",
                        agentinfo: "",
                        basicinfo: a(e, "baseroombasicinfo")(t),
                        facility: a(b.a, "facility")(t)
                    }),
                    footer: a(C.a, "basefooter")(t)
                }
            }

            function s(t) {
                var e = m.a;
                return {
                    title: t.title,
                    body: a(H.a, "roomContainer")({
                        slider: a(p.a, "slider")(t),
                        comment: "",
                        agentinfo: "",
                        basicinfo: a(e, "roombasicinfo")(t),
                        facility: a(v.a, "facility")(t),
                        paydesc: a(x.a, "paydesc")(t),
                        notice: a(w.a, "notice")(t),
                        tags: a(k.a, "tags")(t),
                        tax: a(O.a, "tax")(t)
                    }),
                    footer: a(S.a, "roomfooter")(t)
                }
            }

            function r(t) {
                var e = _.a;
                return {
                    title: t.title,
                    body: a($.a, "roomContainer")({
                        slider: a(p.a, "slider")(t),
                        comment: "",
                        agentinfo: "",
                        basicinfo: a(e, "roombasicinfo")(t),
                        facility: a(b.a, "facility")(t),
                        paydescandnotice: a(A.a, "paydescandnotice")(t),
                        tags: a(k.a, "tags")(t),
                        tax: a(O.a, "tax")(t)
                    }),
                    footer: a(S.a, "roomfooter")(t)
                }
            }

            function l(t) {
                return {title: t.title, body: a(W.a, "hotelInfoContainer")(t)}
            }

            e.a = o, e.b = n, e.c = s, e.d = r, e.e = l;
            var c = i("p3b7"), d = i.n(c), h = i("qYgb"), p = i.n(h), u = i("mQIM"), m = i.n(u), f = i("5GJu"),
                _ = i.n(f), g = i("eR4J"), v = i.n(g), y = i("XzZE"), b = i.n(y), D = i("WG2D"), w = i.n(D),
                E = i("dUEU"), k = i.n(E), T = i("XQGS"), O = i.n(T), P = i("64O+"), x = i.n(P), M = i("sLy/"),
                A = i.n(M), I = i("ZX7i"), C = i.n(I), j = i("yz7n"), S = i.n(j), R = i("GCmm"), L = i.n(R),
                B = i("GfT2"), H = i.n(B), U = i("5Hxe"), $ = i.n(U), N = i("of8C"), W = i.n(N), z = {}
        }, tv3T: function (t, e, i) {
            function a(t, e, i, a) {
                var s = !i;
                i || (i = {});
                for (var r = -1, l = e.length; ++r < l;) {
                    var c = e[r], d = a ? a(i[c], t[c], c, i, t) : void 0;
                    void 0 === d && (d = t[c]), s ? n(i, c, d) : o(i, c, d)
                }
                return i
            }

            var o = i("i4ON"), n = i("nw3t");
            t.exports = a
        }, uIr7: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = e.length, o = t.length; ++i < a;) t[o + i] = e[i];
                return t
            }

            t.exports = i
        }, v8oQ: function (t, e, i) {
            function a(t) {
                var e = ++n;
                return o(t) + e
            }

            var o = i("ZT2e"), n = 0;
            t.exports = a
        }, vNaF: function (t, e) {
            t.exports = '<% if(islist){ %> <div class="js_login_guide_pop lt-fh-txt lt-flex-v"> <div class="star">\u767b\u5f55\u540e\u53ef\u4eab\u53d7\u66f4\u591a\u4f1a\u5458\u4e13\u4eab\u4f18\u60e0</div> <div class="login-btn" data-ubt-key="c_hotel_loginguide">\u767b\u5f55</div> <i class="js_login_guide_close font-g-close"></i> </div> <% }else{ %> <div class="js_login_guide_pop dt-fh-txt dt-cell-v"> <div class="cell-star"><span class="dt-color3">\u767b\u5f55</span>\u540e\u90e8\u5206\u623f\u4ef7\u66f4\u4f18\u60e0</div> <i class="js_login_guide_close font-g-close"></i> </div> <% } %>'
        }, vi0E: function (t, e, i) {
            var a = i("f931"), o = a(Object.getPrototypeOf, Object);
            t.exports = o
        }, vrqZ: function (t, e, i) {
            "use strict";

            function a() {
                return b.getAttr(D) || []
            }

            function o(t) {
                b.setAttr(D, t)
            }

            function n() {
                return new y.a(y.a.getServerDate()).format("Y-m-d")
            }

            function s(t, e) {
                return y.a.getIntervalDay(t.replace(/\//g, "-"), e.replace(/\//g, "-"))
            }

            function r(t, e, i) {
                return t + "." + e + "." + i
            }

            function l(t, e, i) {
                return {
                    timeStamp: y.a.getServerDate().getTime(),
                    uniqId: r(t, e, i),
                    date: n(),
                    oridata: {hotelid: t, biz: e, cityId: i}
                }
            }

            function c(t) {
                var e = n(), i = f()(t, function (t) {
                    return s(t.date, e) <= E
                });
                return g()(i, w)
            }

            function d() {
                var t = a(), e = c(t);
                return o(e), e
            }

            function h(t, e, i) {
                var n = a(), s = c(n), r = l(t, e, i), d = f()(s, function (t) {
                    return t.uniqId !== r.uniqId
                });
                d.unshift(r), o(d)
            }

            function p(t, e, i) {
                var n = r(t, e, i);
                o(f()(a(), function (t) {
                    return t.uniqId !== n
                }))
            }

            function u(t, e, i, a) {
                var o = d();
                if (!o || o.length <= 0) return [];
                var n = [], s = [], r = 0 == i ? i : i * a, l = (i + 1) * a - 1;
                return t > 0 ? (o.forEach(function (e) {
                    e.oridata && e.oridata.cityId === t && s.push(e.oridata.hotelid)
                }), s.length > 0 && s.forEach(function (t, e) {
                    e >= r && e <= l && n.push(t)
                })) : o.forEach(function (t, e) {
                    e >= r && e <= l && n.push(t.oridata.hotelid)
                }), n
            }

            e.d = d, e.a = h, e.c = p, e.b = u;
            var m = i("RyI1"), f = i.n(m), _ = i("m4tL"), g = i.n(_), v = i("+b/N"), y = i("6rBr"),
                b = new v.b({key: "U_HOTEL_BROWSE_HISTORY", lifeTime: "30D", defaultData: null}),
                D = "hotelBrowseHistory", w = 200, E = 30
        }, w9Mt: function (t, e, i) {
            var a = i("ZD0O"), o = i("2N6f"), n = o(function (t, e) {
                return null == t ? {} : a(t, e)
            });
            t.exports = n
        }, wQSy: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("+b/N"), n = i("6rBr"),
                s = new o.b({key: "S_HOTEL_QUERY", lifeTime: "2D", isUserData: !0, defaultData: {}}), r = function (t) {
                    function e() {
                        return t.call(this, {key: "U_HOTEL_ISMORNING", lifeTime: "12H"}) || this
                    }

                    return a.a(e, t), e.prototype.isMorning = function () {
                        if (this.getAttr("oversea")) return this.setAttr("morning", !1), !1;
                        var t = s.getAttr("queryParams") || {}, e = t.inDay, i = new Date(n.a.getServerDate());
                        if (i.getHours() >= 6) return this.setAttr("morning", !1), !1;
                        if (e) {
                            e = n.a.parse(e).date;
                            var a = i;
                            a.setHours(0), a.setMinutes(0), a.setMilliseconds(0), a.setSeconds(0), e < a && (this.setAttr("morning", !0), t.inDay = new n.a(a).format("Y-m-d"), s.setAttr("queryParams", t))
                        } else this.setAttr("morning", !1);
                        return !!this.getAttr("morning")
                    }, e.prototype.setStatus = function (t) {
                        this.setAttr("morning", !!t)
                    }, e.prototype.setIsOverSea = function (t) {
                        this.setAttr("oversea", !!t)
                    }, e.prototype.getStatus = function () {
                        return !!this.getAttr("morning")
                    }, e
                }(o.b);
            e.a = r
        }, "wS+S": function (t, e) {
            var i = /<%-([\s\S]+?)%>/g;
            t.exports = i
        }, waeE: function (t, e, i) {
            "use strict";

            function a(t) {
                return r.getDateInfo(t)
            }

            function o(t, e) {
                return r.getDateMoreInfo(t, e)
            }

            Object.defineProperty(e, "__esModule", {value: !0}), i.d(e, "calendar", function () {
                return r
            }), e.getDateInfo = a, e.getDateMoreInfo = o;
            var n = i("6rBr"), s = function () {
                function t() {
                    this.CONSTANT = {
                        CALENDAR_CHINESE_LUNAR_INFO: [19416, 19168, 42352, 21717, 53856, 55632, 91476, 22176, 39632, 21970, 19168, 42422, 42192, 53840, 119381, 46400, 54944, 44450, 38320, 84343, 18800, 42160, 46261, 27216, 27968, 109396, 11104, 38256, 21234, 18800, 25958, 54432, 59984, 28309, 23248, 11104, 100067, 37600, 116951, 51536, 54432, 120998, 46416, 22176, 107956, 9680, 37584, 53938, 43344, 46423, 27808, 46416, 86869, 19872, 42416, 83315, 21168, 43432, 59728, 27296, 44710, 43856, 19296, 43748, 42352, 21088, 62051, 55632, 23383, 22176, 38608, 19925, 19152, 42192, 54484, 53840, 54616, 46400, 46752, 103846, 38320, 18864, 43380, 42160, 45690, 27216, 27968, 44870, 43872, 38256, 19189, 18800, 25776, 29859, 59984, 27480, 21952, 43872, 38613, 37600, 51552, 55636, 54432, 55888, 30034, 22176, 43959, 9680, 37584, 51893, 43344, 46240, 47780, 44368, 21977, 19360, 42416, 86390, 21168, 43312, 31060, 27296, 44368, 23378, 19296, 42726, 42208, 53856, 60005, 54576, 23200, 30371, 38608, 19415, 19152, 42192, 118966, 53840, 54560, 56645, 46496, 22224, 21938, 18864, 42359, 42160, 43600, 111189, 27936, 44448, 84835],
                        CALENDAR_CHINESE_WEEKDAY: ["\u661f\u671f\u65e5", "\u661f\u671f\u4e00", "\u661f\u671f\u4e8c", "\u661f\u671f\u4e09", "\u661f\u671f\u56db", "\u661f\u671f\u4e94", "\u661f\u671f\u516d"],
                        CALENDAR_CHINESE_NUMBER: ["\u65e5", "\u4e00", "\u4e8c", "\u4e09", "\u56db", "\u4e94", "\u516d", "\u4e03", "\u516b", "\u4e5d", "\u5341"],
                        CALENDAR_CHINESE_CARRT: ["\u521d", "\u5341", "\u5eff", "\u5345", "\u3000"],
                        CALENDAR_CHINESE_HOLIDAY: {
                            1230: "\u9664\u5915",
                            "0101": "\u521d\u4e00",
                            "0115": "\u5143\u5bb5",
                            "0505": "\u7aef\u5348",
                            "0707": "\u4e03\u5915",
                            "0815": "\u4e2d\u79cb",
                            "0909": "\u91cd\u9633"
                        },
                        CALENDAR_COMMON_HOLIDAY: {
                            "0101": "\u5143\u65e6",
                            "0214": "\u60c5\u4eba\u8282",
                            "0501": "\u52b3\u52a8\u8282",
                            1001: "\u56fd\u5e86",
                            1225: "\u5723\u8bde",
                            "0601": "\u513f\u7ae5\u8282",
                            "0910": "\u6559\u5e08\u8282"
                        },
                        CALENDAR_WEEKDAY_NAME: {
                            0: "\u661f\u671f\u65e5",
                            1: "\u661f\u671f\u4e00",
                            2: "\u661f\u671f\u4e8c",
                            3: "\u661f\u671f\u4e09",
                            4: "\u661f\u671f\u56db",
                            5: "\u661f\u671f\u4e94",
                            6: "\u661f\u671f\u516d"
                        },
                        CALENDAR_WEEKDAY_SHORTNAME: {
                            0: "\u5468\u65e5",
                            1: "\u5468\u4e00",
                            2: "\u5468\u4e8c",
                            3: "\u5468\u4e09",
                            4: "\u5468\u56db",
                            5: "\u5468\u4e94",
                            6: "\u5468\u516d"
                        },
                        CALENDAR_WEEKDAY_SHORTNAME2: {
                            0: "\u65e5",
                            1: "\u4e00",
                            2: "\u4e8c",
                            3: "\u4e09",
                            4: "\u56db",
                            5: "\u4e94",
                            6: "\u516d"
                        },
                        CALENDAR_INIT_DATE: 1,
                        CALENDAR_MONTH: 5,
                        INIT_DATE_TIME: {H: 0, M: 0, S: 0, MS: 0},
                        CALENDAR: "calendar"
                    }, this.chineseHoliday = this.CONSTANT.CALENDAR_CHINESE_HOLIDAY, this.holiday = this.CONSTANT.CALENDAR_COMMON_HOLIDAY, this.DAYTITLE = this.CONSTANT.CALENDAR_WEEKDAY_SHORTNAME, this.SDAYTITLE = this.CONSTANT.CALENDAR_WEEKDAY_SHORTNAME2, this.DAYTITLE2 = this.CONSTANT.CALENDAR_WEEKDAY_NAME
                }

                return t.prototype.setCalendarDate = function (t) {
                    this.dateObj = void 0 !== t ? t : new Date, this.SY = this.dateObj && this.dateObj.getFullYear(), this.SM = this.dateObj && this.dateObj.getMonth(), this.SD = this.dateObj && this.dateObj.getDate(), this.lunarInfo = this.CONSTANT.CALENDAR_CHINESE_LUNAR_INFO
                }, t.prototype.leapMonth = function (t) {
                    return 15 & this.lunarInfo[t - 1900]
                }, t.prototype.monthDays = function (t, e) {
                    return this.lunarInfo[t - 1900] & 65536 >> e ? 30 : 29
                }, t.prototype.leapDays = function (t) {
                    return this.leapMonth(t) ? 65536 & this.lunarInfo[t - 1900] ? 30 : 29 : 0
                }, t.prototype.lYearDays = function (t) {
                    for (var e = 348, i = 32768; i > 8; i >>= 1) e += this.lunarInfo[t - 1900] & i ? 1 : 0;
                    return e + this.leapDays(t)
                }, t.prototype.Lunar = function (t) {
                    var e, i = 0, a = 0, o = {}, n = new Date(1900, 0, 31), s = (t - n) / 864e5;
                    for (o.dayCyl = s + 40, o.monCyl = 14, e = 1900; e < 2050 && s > 0; e++) a = this.lYearDays(e), s -= a, o.monCyl += 12;
                    for (s < 0 && (s += a, e -= 1, o.monCyl -= 12), o.year = e, o.yearCyl = e - 1864, i = this.leapMonth(e), o.isLeap = !1, e = 1; e < 13 && s > 0; e++) i > 0 && e === i + 1 && !1 === o.isLeap ? (e -= 1, o.isLeap = !0, a = this.leapDays(o.year)) : a = this.monthDays(o.year, e), !0 === o.isLeap && e === i + 1 && (o.isLeap = !1), s -= a, !1 === o.isLeap && (o.monCyl += 1);
                    return 0 === s && i > 0 && e === i + 1 && (o.isLeap ? o.isLeap = !1 : (o.isLeap = !0, e -= 1, o.monCyl -= 1)), s < 0 && (s += a, e -= 1, o.monCyl -= 1), o.month = e, o.day = s + 1, o
                }, t.prototype.cDay = function (t, e) {
                    var i, a = this.CONSTANT.CALENDAR_CHINESE_NUMBER, o = this.CONSTANT.CALENDAR_CHINESE_CARRT;
                    switch (i = t > 10 ? "\u5341" + a[t - 10] : a[t], i += "\u6708", e) {
                        case 10:
                            i += "\u521d\u5341";
                            break;
                        case 20:
                            i += "\u4e8c\u5341";
                            break;
                        case 30:
                            i += "\u4e09\u5341";
                            break;
                        default:
                            i += o[Math.floor(e / 10)], i += a[e % 10]
                    }
                    return i
                }, t.prototype.solarDay2 = function (t) {
                    this.setCalendarDate(t);
                    var e = new Date(this.SY, this.SM, this.SD), i = this.Lunar(e),
                        a = i.month >= 10 ? i.month : "0" + i.month, o = i.day >= 10 ? i.day : "0" + i.day,
                        n = "" + a + o;
                    return i = null, n
                }, t.prototype.weekday = function () {
                    return this.CONSTANT.CALENDAR_CHINESE_WEEKDAY[this.dateObj.getDay()]
                }, t.prototype.YYMMDD = function () {
                    return [this.SY, "\u5e74", this.SM + 1, "\u6708", this.SD, "\u65e5"].join("")
                }, t.prototype._isDate = function (t) {
                    return "[object Date]" === Object.prototype.toString.call(t)
                }, t.prototype._objectKey = function (t) {
                    var e = [];
                    return t && Object.keys(t).forEach(function (i) {
                        ({}).hasOwnProperty.call(t, i) && e.push(i)
                    }), e
                }, t.prototype.isLeapYear = function (t) {
                    return 0 !== t && (t % 4 == 0 && (t % 100 != 0 || t % 400 == 0))
                }, t.prototype.getDateInfo = function (t) {
                    if (!t) return null;
                    var e = new Date(n.a.getServerDate()), i = new Date(t);
                    i.setHours(1, 1, 1, 0), e.setHours(1, 1, 1, 0);
                    var a = {};
                    n.a.format(e, "Ymd") === n.a.format(t, "Ymd") ? a.daytitle = "\u4eca\u5929" : a.daytitle = "";
                    var o = this.solarDay2(t);
                    if ("1229" === o) {
                        var s = new Date(t);
                        s.setDate(s.getDate() + 1);
                        var r = this.solarDay2(s);
                        this.chineseHoliday[1229] = "1230" !== r ? "\u9664\u5915" : ""
                    }
                    this.chineseHoliday[o] ? a.chineseday = this.chineseHoliday[o] : a.chineseday = "";
                    var l = n.a.format(t, "md");
                    return this.holiday[l] ? a.holiday = this.holiday[l] : a.holiday = "", a.week = this.DAYTITLE[t.getDay()], a.week2 = this.DAYTITLE2[t.getDay()], a.date = n.a.format(t, "j"), a
                }, t.prototype.getDateMoreInfo = function (t, e) {
                    var i = this.solarDay2(t), a = parseInt(i.substr(0, 2), 10), o = parseInt(i.substr(2, 2), 10),
                        s = String(t.getMonth() + 1), r = String(t.getDate()),
                        l = (1 === s.length ? "0" + s : s) + (1 === r.length ? "0" + r : r), c = t.getDay();
                    e = e || new Date;
                    var d = function (t, e) {
                            return t = new Date(t.valueOf()), e = new Date(e.valueOf()), t.setHours(0, 0, 0, 0), e.setHours(0, 0, 0, 0), parseInt((t - e) / 864e5, 10)
                        }(t, e), h = ["\u4eca\u5929"][d], p = this.cDay(a, o), u = p.split("\u6708")[0] + "\u6708",
                        m = p.split("\u6708")[1], f = new n.a(t);
                    return {
                        festival: this.CONSTANT.CALENDAR_COMMON_HOLIDAY[l] || "",
                        week1: this.CONSTANT.CALENDAR_WEEKDAY_NAME[c] || "",
                        week2: this.CONSTANT.CALENDAR_WEEKDAY_SHORTNAME[c] || "",
                        week3: this.CONSTANT.CALENDAR_WEEKDAY_SHORTNAME2[c] || "",
                        YYMMDD: f.format("Y\u5e74n\u6708j\u65e5"),
                        MMDD: f.format("n\u6708j\u65e5"),
                        cfestival: this.CONSTANT.CALENDAR_CHINESE_HOLIDAY[i] || "",
                        cdate: p || "",
                        cmonth: u || "",
                        cday: m || "",
                        cdaykey: i,
                        daykey: l,
                        dayTit: h || ""
                    }
                }, t
            }(), r = new s
        }, wei6: function (t, e, i) {
            "use strict";

            function a() {
            }

            var o = i("TToO"), n = i("lHK6"), s = i.n(n), r = i("LYy4"), l = i.n(r), c = i("KgVm"), d = i.n(c),
                h = i("9uKM"), p = i.n(h), u = i("0tEz"), m = i("tDsL"), f = i.n(m), _ = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return o.a(e, t), e.prototype.propertys = function () {
                        var e = this;
                        t.prototype.propertys.call(this), this.template = f.a, this.onsubmit = a, this.oncancel = a, this.currentSelected = {}, this.orgSelected = {}, this.on("onShow", function () {
                            e.initDom(), e.setzIndexTop(null, 7e3), e.initEvent(), e.setSelected(e.selected);
                            var t = e.$el.find(".js_widget_room_filter_amount");
                            s()(e.selected) ? t.hide() : t.show(), "function" == typeof e.onshow && e.onshow(), $("#header").find(".cm-header").css({zIndex: 4e3})
                        }), this.on("onHide", function () {
                            e.setzIndexTop(), e.destroy(), "function" == typeof e.onhide && e.onhide()
                        })
                    }, e.prototype.initialize = function (e) {
                        t.prototype.initialize.call(this, e), this.setOptions(e)
                    }, e.prototype.setOptions = function (t) {
                        t = t || {}, "onsubmit" in t && (this.onsubmit = t.onsubmit), "oncancel" in t && (this.oncancel = t.oncancel), "onshow" in t && (this.onshow = t.onshow), "onhide" in t && (this.onhide = t.onhide), "selected" in t && (this.selected = t.selected, this.orgSelected = t.selected)
                    }, e.prototype.initDom = function () {
                        this.elcontentbox = this.$el.find(".js_widget_roomfilter_box")
                    }, e.prototype.initEvent = function () {
                        var t = this;
                        this.$el.on("click", "span[data-key]", l()(function (e) {
                            var i = $(e.currentTarget), a = i.parent(),
                                o = "quickfilter" === a.data("ftype") || "" === a.data("ftype") ? i.data("ftype") : a.data("ftype"),
                                n = (a.data("multiple"), i.data("key"));
                            t.exsistSelected(o, n) ? t.unSelectCurrent(o, n) : t.selectCurrent(o, n)
                        }, this)), this.$el.on("click", ".js_btn_confirm", l()(function () {
                            t.onsubmit(t.currentSelected, t.isNeedRequest(t.orgSelected, t.currentSelected)), t.hide()
                        }, this)), this.$el.on("click", ".js_btn_recoverDefault", l()(function () {
                            t.setSelected({})
                        }, this)), this.$el.on("click", ".js_room_filter_btn", l()(function () {
                            t.hide()
                        }, this)), this.clickMask = l()(function (t) {
                            0 === this.$el.find(".js_widget_roomfilter_box").find(t.target).length && this.hide()
                        }, this), this.$el.on("click", this.clickMask), this.$el.on("touchmove", function () {
                            return !1
                        })
                    }, e.prototype.selectCurrent = function (t, e, i) {
                        var a = "feature" === t || "service" === t ? "" : t, o = this.getFilterGroup(t, a, e),
                            n = (o || {}).multiple, s = null;
                        if (o) {
                            if (s = this.$el.find('div[data-ftype="' + a + '"]'), 1 === n) this.updateCurrentSelected(t, e, i), -1 === e ? (s.find("span[data-key]").removeClass("current"), s.find('span[data-key="-1"]').addClass("current")) : i ? (this.exsistOtherSelected(t, e) ? s.find('span[data-key="-1"]').removeClass("current") : s.find('span[data-key="-1"]').addClass("current"), s.find('span[data-key="' + e + '"]').removeClass("current")) : (s.find('span[data-key="-1"]').removeClass("current"), s.find('span[data-key="' + e + '"]').addClass("current")); else if (this.updateCurrentSelected(t, e, i), i) s.find('span[data-key="-1"]').addClass("current"), s.find('span[data-key="' + e + '"]').removeClass("current"); else {
                                var r = s.find(".current"), l = r.data("key");
                                s.find("span[data-key]").removeClass("current"), s.find('span[data-key="' + e + '"]').addClass("current")
                            }
                            this.$el.find('div[data-ftype="quickfilter"]').find("span").forEach(function (a) {
                                a.dataset.ftype === t && a.dataset.key === "" + e && (i || -1 === e ? $(a).removeClass("current") : $(a).addClass("current")), l && a.dataset.ftype === t && a.dataset.key === "" + l && $(a).removeClass("current")
                            })
                        }
                    }, e.prototype.getFilterGroup = function (t, e, i) {
                        var a = d()(this.datamodel.quickFilters, function (e) {
                            return e.ftype === t && e.item.key === i
                        });
                        if (a >= 0) {
                            var o = this.datamodel.quickFilters[a];
                            return {ftype: o.ftype, items: [{key: o.item.key, val: o.item.val}], multiple: 1}
                        }
                        return a = d()(this.datamodel.filters, function (t) {
                            return t.ftype === e
                        }), a >= 0 ? this.datamodel.filters[a] : null
                    }, e.prototype.updateCurrentSelected = function (t, e, i) {
                        var a = "feature" === t || "service" === t ? "" : t, o = this.getFilterGroup(t, a, e),
                            n = o.multiple, s = o.items[d()(o.items, function (t) {
                                return t.key === e
                            })];
                        switch (n) {
                            case 1:
                                var r = this.currentSelected[t] = this.currentSelected[t] || [];
                                if (-1 === e) this.currentSelected[t] && delete this.currentSelected[t], t || (this.currentSelected.hasOwnProperty("feature") && delete this.currentSelected.feature, this.currentSelected.hasOwnProperty("service") && delete this.currentSelected.service); else if (i) {
                                    var l = d()(r, function (t) {
                                        return t.key === e
                                    });
                                    l > -1 && r.splice(l, 1), 0 === r.length && delete this.currentSelected[t]
                                } else s && -1 === d()(r, function (t) {
                                    return t.key === e
                                }) && r.push({key: e, val: s.val, ftype: s.ftype});
                                break;
                            case 0:
                                -1 === e ? this.currentSelected[t] && delete this.currentSelected[t] : i ? this.currentSelected[t] && delete this.currentSelected[t] : this.currentSelected[t] = [{
                                    key: e,
                                    val: s.val,
                                    ftype: s.ftype
                                }]
                        }
                    }, e.prototype.unSelectCurrent = function (t, e) {
                        this.selectCurrent(t, e, !0)
                    }, e.prototype.exsistSelected = function (t, e) {
                        var i = this.currentSelected[t] || [];
                        return d()(i, function (t) {
                            return t.key === e
                        }) >= 0
                    }, e.prototype.exsistOtherSelected = function (t) {
                        return !!(this.currentSelected[t] || []).length
                    }, e.prototype.setSelected = function (t) {
                        var e = this;
                        this.clearSelected(), t && Object.keys(t).forEach(function (i) {
                            var a = t[i];
                            a && a.length && p()(a, function (t) {
                                e.selectCurrent(i, t.key)
                            })
                        })
                    }, e.prototype.clearSelected = function () {
                        var t = this;
                        p()(this.datamodel.filters, function (e) {
                            t.selectCurrent(e.ftype, -1)
                        }), p()(this.datamodel.quickFilters, function (e) {
                            t.selectCurrent(e.ftype, e.item.key, !0)
                        })
                    }, e.prototype.isNeedRequest = function (t, e) {
                        var i = (t || {}).paytype || [{}], a = (e || {}).paytype || [{}];
                        return (i[0].key || "") !== (a[0].key || "")
                    }, e
                }(u.a);
            e.a = _
        }, x2od: function (t, e) {
            var i = /<%([\s\S]+?)%>/g;
            t.exports = i
        }, xkSB: function (t, e) {
            t.exports = '<% if (hasHeader) { %> <div class="cm-header" style="position: static;"> <span class="cm-header-icon fl js_back_btn"><i class="icon-back"></i></span> <span class="cm-page-title">\u6bcf\u95f4\u4eba\u6570</span> </div> <% } %> <article class="age-selection"> <ul class="age-mod mb10"> <li class="item age-v"> <div class="age-start">\u95f4\u6570</div> <div class="age-end"> <span class="js_room_num_ui"></span> </div> </li> </ul> <p class="age-fn10 p10">\u6bcf\u95f4\u4eba\u6570</p> <ul class="age-mod mb5"> <li class="item age-v"> <div class="age-start">\u6210\u4eba\u6570</div> <div class="age-end"> <span class="js_adult_num_ui"></span> </div> </li> <% for (var i = 0; i < childrenVm.length; i++) { %> <li class="item age-flex js_select_age_btn" data-idx="<%=i%>"> <div class="age-start age-c2">\u6dfb\u52a0\u513f\u7ae5<%=i+1%>&nbsp;</div> <div class="age-end"> <span class="js_age_txt"><%=childrenVm[i].txt%></span> <span class="age-arrow-right"></span> </div> </li> <% } %> </ul> <p class="age-fn10 p10">\u6309\u7167\u5b9e\u9645\u5165\u4f4f\u60c5\u51b5\u9009\u62e9\u513f\u7ae5\u5e74\u9f84\uff0c\u6211\u4eec\u4e3a\u60a8\u7cbe\u51c6\u7b5b\u9009\u53ef\u4f4f\u623f\u578b</p> <div class="age-btn js_confirm_btn">\u786e\u5b9a</div> </article>'
        }, xond: function (t, e) {
            function i(t) {
                var e = [];
                if (null != t) for (var i in Object(t)) e.push(i);
                return e
            }

            t.exports = i
        }, xvyn: function (t, e, i) {
            "use strict";

            function a() {
                return location.origin
            }

            function o() {
                return a() + "/webapp/hotel"
            }

            function n(t) {
                return o() + "/j/hoteldetail/dianping/api/" + t
            }

            function s(t) {
                return a() + "/webapp/hotel/contents/api/" + t
            }

            function r(t) {
                return o() + "/" + t
            }

            e.a = n, e.b = s, e.c = r
        }, y9NZ: function (t, e, i) {
            t.exports = i("DxBg")
        }, y9O2: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("+b/N"), s = i("zkPj"), r = i.n(s), l = i("aoYE"),
                c = (i.n(l), new n.b({key: "S_HOTEL_NEWGUEST_COUPON_POP", lifeTime: "24H", isUserData: !0})),
                d = function (t) {
                    function e() {
                        return null !== t && t.apply(this, arguments) || this
                    }

                    return a.a(e, t), e.prototype.resetDefaultProperty = function () {
                        t.prototype.resetDefaultProperty.call(this), this.maskToHide = !0, this.template = r.a, this.events = {"click .js_coupons_enter": "okAction"}, this.receiveCouponSuccess = !1, this.okAction = function () {
                            this.trigger("click")
                        }
                    }, e.prototype.showIfExpired = function () {
                        var t = this, e = c.get(), i = Date.now(), a = navigator.userAgent;
                        if (e) {
                            var o = new Date(i), n = new Date(e);
                            if (o.getDate() === n.getDate()) return
                        }
                        if (c.set(i), this.show(), a.indexOf("baidu") > 0 && a.indexOf("Android") > 0) {
                            var s = t.$el.find(".js_coupons_enter"), r = function () {
                                if (0 === s.height()) return t.hide();
                                t.baiduFixhandle = requestAnimationFrame(r)
                            };
                            t.baiduFixhandle = requestAnimationFrame(r)
                        }
                    }, e.prototype.hide = function () {
                        this.baiduFixhandle && cancelAnimationFrame(this.baiduFixhandle), t.prototype.hide.call(this)
                    }, e
                }(o.a);
            e.a = d
        }, yI9a: function (t, e, i) {
            var a = i("Rx1E"), o = i("YkxI"), n = i("Fp5l"), s = o(function (t, e) {
                return n(t) ? a(t, e) : []
            });
            t.exports = s
        }, yKmV: function (t, e, i) {
            "use strict";

            function a(t) {
                var e = t;
                return t && f[t] && (e = f[t]), e
            }

            function o(t, e, i, a) {
                var o = $("#page_id");
                if (o) {
                    var n = o.attr("value");
                    t = t.indexOf("?") >= 0 ? t + "&pageid=" + n : t + "?pageid=" + n
                }
                return {url: t, data: e, callback: i, error: a}
            }

            function n(t) {
                "true" === $("#useCasKey").val() || t.useCasKey ? Object(m.a)(0).then(function (e) {
                    -1 === t.url.indexOf("?") ? t.url = t.url + "?key=" + e : t.url = t.url + "&key=" + e, s(t)
                }) : s(t)
            }

            function s(t) {
                var e = p.a.getUuid();
                p.a.group(e, {name: "AjaxReady", url: t.url, data: t.data});
                var i = 0, a = {
                    url: t.url,
                    type: t.type,
                    dataType: t.dataType,
                    data: t.data,
                    contentType: t.contentType,
                    timeout: t.timeout || 5e4,
                    beforeSend: function (t) {
                        t.onprogress = function (t) {
                            i = t.loaded ? t.loaded : t.position
                        }
                    },
                    success: function (a, o, n) {
                        if (p.a.log({
                            name: "AjaxMessageSize",
                            url: t.url
                        }, i), p.a.performance[e].status = "success", p.a.performance[e].info = ["code:", n && n.status || 200].join(), void 0 === a && a.ResponseStatus && a.ResponseStatus.Extension) {
                            var s = a.ResponseStatus.Extension.filter(function (t) {
                                return "CLOGGING_TRACE_ID" === t.Id
                            })[0];
                            s && (p.a.performance[e].CLOGGING_TRACE_ID = s.Value)
                        }
                        p.a.groupEnd(e), t.callback && t.callback(a)
                    },
                    error: function (i, a) {
                        "abort" !== a && (p.a.performance[e].status = "fail", i && void 0 === i && (p.a.performance[e].info = ["code:", i.status, "    res:", encodeURIComponent(i.responseText)].join()), p.a.groupEnd(e)), t.error && t.error(i)
                    }
                };
                -1 !== t.url.indexOf(window.location.host) && -1 !== t.url.indexOf(window.location.protocol) || (a.crossDomain = !!t.crossDomain);
                try {
                    var o = window.location.origin;
                    o || (o = window.location.protocol + "//" + window.location.host);
                    for (var n = t.url.match(/^\s*(((([^:\/#?]+:)?(?:(\/\/)((?:(([^:@\/#?]+)(?::([^:@\/#?]+))?)@)?(([^:\/#?\][]+|\[[^\/\]@#?]+])(?::([0-9]+))?))?)?)?((\/?(?:[^\/?#]+\/+)*)([^?#]*)))?(\?[^#]+)?)(#.*)?/) || [], s = !1, r = 0; r < _.length; r += 1) n[10] === _[r] && (s = !0);
                    /^https?/.test(o) && n[2] && -1 === n[2].indexOf(o) && !u.a.vendor.is("CTRIP") && s && "jsonp" !== t.dataType && (a.beforeSend = function (t) {
                        try {
                            var e = t;
                            e.setRequestHeader("cookieOrigin", o), e.onprogress = function (t) {
                                i = t.loaded ? t.loaded : t.position
                            }
                        } catch (t) {
                        }
                    }, a.xhrFields = {withCredentials: !0})
                } catch (t) {
                }
                try {
                    return $.ajax(a)
                } catch (t) {
                    if (t && "INVALID_STATE_ERR: DOM Exception 11" === t.message && window.XMLHttpRequest) {
                        var l = new XMLHttpRequest;
                        return l.onreadystatechange = function () {
                            if (4 === l.readyState) {
                                var t = l.status;
                                t >= 200 && t < 300 ? a.success && a.success($.parseJSON(l.responseText), l.responseXML) : a.error && a.error(t)
                            }
                        }, l.open(a.type, a.url, !0), l.setRequestHeader("cookieOrigin", origin), l.setRequestHeader("Content-Type", "application/json"), l.withCredentials = !0, l.send(a.data), l
                    }
                }
                return null
            }

            function r(t, e, i, s, r, l) {
                var c = l ? l.contentType : "", d = l ? l.dataType : "json", h = l && !!l.cache, p = o(t, e, i, s);
                p.type = "GET", p.timeout = r, p.cache = !!h, p.contentType = a(c) || "application/json", p.dataType = d, p.useCasKey = l && l.useCasKey, n(p)
            }

            function l(t, e, i, s, r, l) {
                var c = l ? l.contentType : "", d = l ? l.dataType : "json", h = JSON.stringify(e), p = o(t, h, i, s);
                p.type = "POST", p.dataType = d, p.timeout = r, p.contentType = a(c) || "application/json", p.useCasKey = l && l.useCasKey, n(p)
            }

            function c(t, e, i, a, s) {
                var r = o(t, e, i, a);
                r.type = "GET", r.dataType = "jsonp", r.crossDomain = !0, r.timeout = s, n(r)
            }

            function d(t, e, i, s, r, l) {
                var c = i.contentType, d = i;
                "get" !== e.toLowerCase() && (d = JSON.stringify(i));
                var h = o(t, d, s, r);
                h.type = e, h.dataType = "json", h.crossDomain = !0, h.data = d, h.contentType = a(c) || "application/json", h.timeout = l, n(h)
            }

            function h(t, e, i, a) {
                var s = null, r = "";
                (s = "string" == typeof e ? $("#" + e) : $(e)) && s.length > 0 && (r = s.serialize()), n(o(t, r, i, a))
            }

            var p = i("0SAi"), u = i("yaBp"), m = i("hws1"), f = {json: "application/json", jsonp: "application/json"},
                _ = ["m.ctrip.com", "sec-m.ctrip.com", "gateway.secure.ctrip.com", "gateway.m.uat.qa.nt.ctripcorp.com", "gateway.m.fws.qa.nt.ctripcorp.com", "gateway.secure.fws.qa.nt.ctripcorp.com", "gateway.secure.uat.qa.nt.ctripcorp.com"],
                g = {get: r, post: l, jsonp: c, cros: d, form: h};
            e.a = g
        }, yaBp: function (t, e, i) {
            "use strict";
            var a = function () {
                function t(t) {
                    t += "", t.indexOf(".") < 0 && (t += ".0"), t = ("" + t).split(".");
                    for (var e = 0; e < t.length; e++) t[e] = "000".substr(t[e].length) + t[e];
                    return t.join(".")
                }

                var e = {
                    MASTER: ["Ctrip_CtripWireless", "Unicom_CtripWireless", "Pro_CtripWireless"],
                    YOUTH: ["Youth_CtripWireless"],
                    SML: ["sml_wireless"],
                    GS: ["gs_wireless"],
                    WE: ["we_wireless"],
                    TV: ["AndroidTV_CtripWireless"],
                    TY: ["Tieyou_TieyouWireless"],
                    DIS: ["Discount_CtripWireless"]
                }, i = null, a = null, o = null, n = null, s = RegExp, r = window.navigator.userAgent;
                return Object.keys(e || {}).forEach(function (t) {
                    if ({}.hasOwnProperty.call(e, t)) for (var n = 0; n < e[t].length; n += 1) if (new s(e[t][n] + "_([\\d.]+)$").test(r)) {
                        i = "CTRIP", a = t, o = s.$1;
                        break
                    }
                }), i || /MicroMessenger\/([\d.]+)/.test(r) && (i = "TECENT", a = "WEIXIN", o = s.$1), o && (n = t(o)), {
                    vendor: {
                        toString: function () {
                            return i
                        }, is: function (t) {
                            return ("TV" !== a && "TY" !== a || "CTRIP" !== a) && t.toUpperCase() === i
                        }
                    }, code: {
                        toString: function () {
                            return a
                        }, is: function (t) {
                            return t.toUpperCase() === a
                        }
                    }, version: {
                        toString: function () {
                            return o
                        }, lt: function (e) {
                            return n < t(e)
                        }, lte: function (e) {
                            return n <= t(e)
                        }, eq: function (e) {
                            return n === t(e)
                        }, gte: function (e) {
                            return n >= t(e)
                        }, gt: function (e) {
                            return n > t(e)
                        }
                    }
                }
            }();
            e.a = a
        }, yvtv: function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("0tEz"), n = i("fdcG"), s = i.n(n), r = function (t) {
                function e() {
                    return null !== t && t.apply(this, arguments) || this
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = s.a, this.datamodel = {
                        data: [],
                        curClass: "cui-tab-current",
                        index: 0
                    }, this.events = {"click .cui-tab-mod>li": "clickAction"}, this.onChange = function (t) {
                    }
                }, e.prototype.resetPropery = function () {
                    if ((this.datamodel.index < 0 || this.datamodel.index > this.datamodel.data.length) && (this.datamodel.index = 0), !this.datamodel.selectedKey) return void(this.datamodel.selectedKey = this.datamodel.data[this.datamodel.index].id);
                    for (var t = 0, e = this.datamodel.data.length; t < e; t++) if (this.datamodel.selectedKey === this.datamodel.data[t].id) {
                        this.datamodel.index = t;
                        break
                    }
                }, e.prototype.initElement = function () {
                    this.el = this.$(".cui-tab-current"), this.tab = this.$(".cui-tab-scrollbar"), this.tabs = this.$("li")
                }, e.prototype.clickAction = function (t) {
                    var e = $(t.currentTarget), i = e.attr("data-index");
                    this.setIndex(i)
                }, e.prototype.setVal = function (t) {
                    this.el = this.$('li[data-key="' + t + '"]');
                    var e = this.el.attr("data-index"), i = this.datamodel.data[e];
                    if (i) {
                        var a = this.datamodel.selectedKey === t;
                        if (this.datamodel.selectedKey = t, this.tabs.removeClass(this.datamodel.curClass), this.el && this.el.addClass(this.datamodel.curClass), navigator.userAgent.toLowerCase().indexOf("android") > -1 && $(window).height() > 530) {
                            this._tab = this.$el.find(".cui-tab-scrollbar");
                            var o = this._tab.css("width");
                            setTimeout($.proxy(function () {
                                this._tab.css("width", o)
                            }, this), 0)
                        }
                        !1 === a && "function" == typeof this.onChange && this.onChange.call(this, i)
                    }
                }, e.prototype.getVal = function () {
                    return this.datamodel.selectedKey
                }, e.prototype.setIndex = function (t) {
                    t < 0 || t > this.datamodel.data.length - 1 || this.setVal(this.datamodel.data[t].id)
                }, e.prototype.getIndex = function () {
                    for (var t = 0, e = this.datamodel.data.length; t < e; t++) if (this.getVal() === this.datamodel.data[t].id) return t;
                    return -1
                }, e.prototype.initialize = function (e) {
                    t.prototype.initialize.call(this, e)
                }, e
            }(o.a);
            e.a = r
        }, yz7n: function (t, e) {
            t.exports = '<%\r\n  var discountHtml = [], prepaydiscount = discount = priceInfo.prepayTotalDiscountAmount;\r\n  if (priceInfo.couponImmediatelyMinusPromotionDomainModel || priceInfo.cashBackPromotionDomainModel || priceInfo.couponReturnPromotionDomainModel) {\r\n    discountHtml.push("<p class=\\"l-color4\\">");\r\n    if (prepaydiscount > 0) {\r\n      discountHtml.push("\u7acb\u51cf&nbsp;<small>\xa5</small>" + prepaydiscount + ",");\r\n    }\r\n    if (priceInfo.couponImmediatelyMinusPromotionDomainModel && priceInfo.cashBackPromotionDomainModel) {\r\n      discountHtml.push("\u53ef\u8fd4&nbsp;<small>\xa5</small>");\r\n      discountHtml.push(priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount);\r\n      if (prepaydiscount > 0) {\r\n        discountHtml[1] = "\u7acb\u51cf&nbsp;<small>\xa5</small>" + (priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount + prepaydiscount + ",");\r\n      } else {\r\n        discountHtml.push("&nbsp;\u4f18\u60e0\u5238\u53ef\u51cf&nbsp;<small>\xa5</small>");\r\n        discountHtml.push(priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount + prepaydiscount);\r\n      }\r\n    } else if (priceInfo.couponReturnPromotionDomainModel && priceInfo.cashBackPromotionDomainModel) {\r\n      discountHtml.push("\u53ef\u8fd4&nbsp;<small>\xa5</small>");\r\n      discountHtml.push(priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount);\r\n      discountHtml.push("&nbsp;\u4f18\u60e0\u5238\u8fd8\u53ef\u8fd4&nbsp;<small>\xa5</small>");\r\n      discountHtml.push(priceInfo.couponReturnPromotionDomainModel.totalAmount.cnyAmount);\r\n    } else if (priceInfo.cashBackPromotionDomainModel) {\r\n      discountHtml.push("\u53ef\u8fd4&nbsp;<small>\xa5</small>");\r\n      discountHtml.push(priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount);\r\n    } else if (priceInfo.couponImmediatelyMinusPromotionDomainModel) {\r\n      if (prepaydiscount > 0) {\r\n        discountHtml[1] = "\u7acb\u51cf&nbsp;<small>\xa5</small>" + (priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount + prepaydiscount  + ",");\r\n      } else {\r\n        discountHtml.push("\u4f18\u60e0\u5238\u53ef\u51cf&nbsp;<small>\xa5</small>");\r\n        discountHtml.push(priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount + prepaydiscount);\r\n      }\r\n    } else if (priceInfo.couponReturnPromotionDomainModel){\r\n      discountHtml.push("\u4f18\u60e0\u5238\u53ef\u8fd4&nbsp;<small>\xa5</small>");\r\n      discountHtml.push(priceInfo.couponReturnPromotionDomainModel.totalAmount.cnyAmount);\r\n    }\r\n    discountHtml.push("</p>");\r\n    if (priceInfo.cashBackPromotionDomainModel) {\r\n      discount += priceInfo.cashBackPromotionDomainModel.totalAmount.cnyAmount;\r\n    } \r\n    if (priceInfo.couponImmediatelyMinusPromotionDomainModel) {\r\n      discount += priceInfo.couponImmediatelyMinusPromotionDomainModel.totalAmount.cnyAmount;\r\n    } \r\n    if (priceInfo.couponReturnPromotionDomainModel){\r\n      discount += priceInfo.couponReturnPromotionDomainModel.totalAmount.cnyAmount;\r\n    }\r\n  }\r\n%> <ul class="l-pay l-list"> <li class="item"> <%if(isoversea){%> <div class="l-cell-num"> <p class="clearfix"> <span class="total"><%=days%>\u665a\u542b\u7a0e\u4ef7\uff1a</span> <span class="bfc l-price"><small>\xa5</small><%=priceInfo.cnyTotalPrice - discount%></span> </p> <%if (discountHtml.length || priceInfo.cnyTotalTax > 0) {%> <p class="l-color4">\u623f\u8d39\uff1a<small>\xa5</small><%=priceInfo.cnyTotalPriceWithoutTax%></p> <%}%> <%if (priceInfo.cnyTotalTax > 0) {%> <p class="l-color4">\u7a0e/\u5176\u4ed6\u8d39\u7528\u7ea6\uff1a<small>\xa5</small><%=priceInfo.cnyTotalTax%></p> <%}%> <%if (discountHtml.length) {%> <%=discountHtml.join(\'\')%> <%}%> </div> <button data-ubt-key="c_hotel_inland_detail_room_sub_reserve" class="l-btn btn--ui2 js_btn_book <%=btncss%> "><%=btnText%></button> <%}else{%> <div class="l-cell-num"> <p class="clearfix"> <span class="total"><%=days%>\u665a\u603b\u4ef7\uff1a</span> <span class="bfc l-price"><small>\xa5</small><%=priceInfo.cnyTotalPrice - discount%></span> </p> <%if (discountHtml.length) {%> <p class="l-color4">\u623f\u8d39\uff1a<small>\xa5</small><%=priceInfo.cnyTotalPriceWithoutTax%></p> <%=discountHtml.join(\'\')%> <%}%> </div> <button data-ubt-key="c_hotel_oversea_detail_room_sub_reserve" class="l-btn btn--ui3 js_btn_book <%=btncss%> "><em class="pay-way <%=paycss%>"><%=payLabel%></em><%=btnText%></button> <%}%> </li> </ul> '
        }, yzuE: function (t, e) {
            function i(t, e) {
                for (var i = -1, a = null == t ? 0 : t.length, o = Array(a); ++i < a;) o[i] = e(t[i], i, t);
                return o
            }

            t.exports = i
        }, zBOP: function (t, e) {
            function i() {
                return !1
            }

            t.exports = i
        }, zEAZ: function (t, e) {
        }, zFzQ: function (t, e, i) {
            "use strict";
            var a = i("+b/N"), o = i("6rBr"), n = new a.b({key: "S_HOTEL_QUERY", lifeTime: "48H", isUserData: !0}),
                s = function () {
                    function t(t) {
                        this.key = t || "queryParams"
                    }

                    return t.prototype.setCache = function (t) {
                        n.setAttr(this.key, t || {})
                    }, t.prototype.getCache = function () {
                        return n.getAttr(this.key) || {}
                    }, t.prototype.clearCache = function () {
                        n.removeAttr(this.key)
                    }, t.prototype.setInoutDay = function (t, e, i) {
                        var a = this.getCache();
                        a.inDay = t, a.outDay = e;
                        var n = o.a.getIntervalDay(a.inDay, a.outDay);
                        n = i ? n + 1 : n, a.days = n, this.setCache(a)
                    }, t
                }();
            e.a = s
        }, zZmx: function (t, e, i) {
            var a = i("tv3T"), o = i("0DSl"), n = i("t8rQ"), s = o(function (t, e, i, o) {
                a(e, n(e), t, o)
            });
            t.exports = s
        }, "za/N": function (t, e, i) {
            "use strict";
            var a = i("TToO"), o = i("6M8Y"), n = i("d9bj"), s = i.n(n), r = null, l = function (t) {
                function e() {
                    var e = t.call(this) || this;
                    return r || (r = e), r
                }

                return a.a(e, t), e.prototype.propertys = function () {
                    t.prototype.propertys.call(this), this.template = s.a, this.maskToHide = !1, this.hasPushState = !1, this.type = "loading"
                }, e.drawPolygon = function (t, e, i) {
                    t.beginPath(), t.fillStyle = i;
                    for (var a = 0; a < e.length; a++) a % 6 == 0 && t.bezierCurveTo(e[a], e[a + 1], e[a + 2], e[a + 3], e[a + 4], e[a + 5]);
                    t.fill(), t.closePath()
                }, e.drawEyes = function (t, e, i) {
                    for (var a = 0; a < 12; a++) t.beginPath(), t.lineCap = "square", t.moveTo(e.x, e.y - a), t.lineTo(i.x, i.y - a), t.strokeStyle = "rgb(38, 112, 151)", t.stroke()
                }, e.drawMouth = function (t) {
                    for (var e = 0; e < 5; e++) t.beginPath(), t.strokeStyle = "rgb(38, 112, 151)", t.bezierCurveTo(183, 214 + e, 213, 212 + e, 233, 191 + e), t.bezierCurveTo(233, 191 + e, 247, 172 + e, 271, 177 + e), t.bezierCurveTo(271, 177 + e, 285, 186 + e, 301, 185 + e), t.stroke(), t.closePath()
                }, e.drawCircle = function (t, e, i) {
                    for (var a = 0; a < 12; a++) t.save(), t.beginPath(), t.arc(205, 204, 190 + a, e * Math.PI, i * Math.PI), t.strokeStyle = "rgb(187, 226, 248)", t.stroke()
                }, e.prototype.draw = function (t) {
                    var i = [109, 85, 118, 70, 171, 59, 171, 59, 210, 45, 257, 63, 257, 63, 312, 88, 312, 128, 312, 128, 340, 145, 344, 179, 344, 179, 347, 208, 332, 230, 332, 230, 340, 220, 370, 242, 370, 242, 370, 215, 392, 220, 392, 220, 391, 244, 382, 262, 382, 262, 370, 267, 357, 270, 357, 267, 360, 295, 355, 319, 355, 319, 316, 374, 212, 395, 212, 395, 167, 403, 120, 378, 120, 378, 104, 354, 104, 335, 104, 335, 78, 339, 47, 312, 47, 312, 37, 289, 58, 283, 58, 283, 50, 280, 76, 298, 76, 298, 85, 297, 70, 233, 70, 233, 45, 122, 109, 85],
                        a = [344, 179, 347, 208, 332, 230],
                        o = [166, 208, 147, 212, 132, 226, 132, 226, 152, 238, 166, 208],
                        n = [315, 173, 322, 170, 335, 169, 335, 169, 338, 174, 338, 177, 338, 177, 328, 188, 316, 173],
                        s = [244, 271, 279, 245, 318, 248, 322, 248, 340, 262, 332, 336, 334, 336, 297, 383, 192, 396, 192, 396, 155, 346, 166, 292, 166, 292, 180, 260, 244, 271],
                        r = [183, 214, 213, 212, 233, 191, 233, 191, 247, 172, 271, 177, 271, 177, 285, 186, 301, 185],
                        l = [244, 229, 259, 227, 269, 221, 269, 221, 258, 236, 244, 229],
                        c = [220, 168, 237, 154, 264, 154, 264, 154, 243, 165, 220, 168],
                        d = [73, 133, 135, 139, 205, 124, 205, 125, 264, 110, 290, 88, 290, 88, 282, 76, 274, 71, 274, 71, 237, 86, 184, 99, 184, 99, 135, 106, 94, 106, 94, 106, 68, 128, 73, 133],
                        h = [83, 117, 65, 102, 50, 96, 50, 96, 40, 102, 33, 118, 33, 118, 48, 122, 63, 132, 63, 132, 43, 135, 27, 146, 27, 146, 36, 159, 43, 170, 43, 170, 57, 164, 74, 155, 74, 155, 69, 137, 100, 126],
                        p = [157, 78, 134, 85, 116, 95, 116, 95, 126, 96, 132, 96, 132, 96, 143, 86, 151, 82],
                        u = [110, 105, 96, 116, 93, 126, 93, 126, 102, 126, 107, 127, 107, 127, 113, 117, 121, 111, 121, 111, 118, 106, 113, 103, 113, 103, 110, 104, 110, 105],
                        m = [72, 123, 57, 113, 44, 108, 44, 108, 57, 120, 72, 123],
                        f = [71, 135, 57, 144, 51, 154, 51, 154, 61, 151, 69, 148, 69, 148, 69, 142, 71, 137],
                        _ = {start: {x: 140, y: 184}, end: {x: 176, y: 185}},
                        g = {start: {x: 294, y: 162}, end: {x: 311, y: 145}}, v = 0, y = .2, b = t.getContext("2d");
                    return b.clearRect(0, 0, 2e3, 2e3), clearInterval(this.drawInteval), b.scale(.73, .36), setInterval(function () {
                        b.clearRect(0, 0, 2e3, 2e3), v += .1, y = v + 1.7, e.drawPolygon(b, i, "#86CFF8"), e.drawEyes(b, _.start, _.end), e.drawEyes(b, g.start, g.end), e.drawPolygon(b, o, "rgb(254, 200, 225)"), e.drawPolygon(b, n, "rgb(254, 200, 225)"), e.drawPolygon(b, s, "#ffffff"), e.drawPolygon(b, a, "rgb(49, 186, 223)"), e.drawMouth(b, r), e.drawPolygon(b, l, "rgb(117, 192, 234)"), e.drawPolygon(b, c, "rgb(117, 192, 234)"), e.drawPolygon(b, d, "rgb(206, 247, 249)"), e.drawPolygon(b, h, "rgb(206, 247, 249)"), e.drawPolygon(b, m, "rgb(162, 218, 241)"), e.drawPolygon(b, f, "rgb(162, 218, 241)"), e.drawPolygon(b, u, "#ffffff"), e.drawPolygon(b, p, "#ffffff"), e.drawCircle(b, v, y)
                    }, 45)
                }, e.prototype.addEvent = function () {
                    t.prototype.addEvent.call(this)
                }, e.prototype.resetDefaultProperty = function () {
                    t.prototype.resetDefaultProperty.call(this), this.needAnimat = !1, this.maskToHide = !1
                }, e.prototype.show = function () {
                    this.drawInteval || this.showFunc()
                }, e.prototype.showFunc = function () {
                    t.prototype.show.call(this), this.$el.find("canvas").length && (this.drawInteval = this.draw(this.$(".loading-layer2-before")[0]), delete this.__showtimeout)
                }, e.prototype.hide = function () {
                    this.__showtimeout && clearTimeout(this.__showtimeout), this.drawInteval && (clearInterval(this.drawInteval), this.drawInteval = null), this.$(".loading-layer2").html('<canvas class="loading-layer2-before" style="position: absolute;width: 72px;height: 72px;top: 10px;left: 20px;"></canvas><p id="cp-h5-text">\u6e38\u6e38\u52aa\u529b\u52a0\u8f7d\u4e2d</p>'), t.prototype.hide.call(this)
                }, e
            }(o.a), c = new l;
            e.a = c
        }, zkPj: function (t, e) {
            t.exports = '<div class="coupons-layer js_coupons_enter" style="text-align: center;"><img src="https://pages.ctrip.com/hotel_h5/res/img/coupons-enter-pop.png" width="227px" alt=""></div> '
        }
    }, ["byV+"]);
})